Click or drag to resize

PhysicsObjectModel Properties

The PhysicsObjectModel type exposes the following members.

Properties
  Name Description
Public property Attached
Defines an attached property.
(Inherited from BaseModel.)
Public property Comments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public property Code example DataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public property ExternalXmlPath (Inherited from BaseModel.)
Public property Id
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public property IsIdAutogenerated (Inherited from BaseModel.)
Public property IsStaticObject
Determines if a physics element is static. Default is false
Public property IsStaticObjectSerialized
Determines if a physics element is static, serialized. Default is false
Public property IsUsingPlanetaryGravity
Determines if a physics element is using the planetary gravity system. />
Public property PhysicsBounciness
Determines how much energy is transferred on collision. A value of 0.95f will transfer all energy. Default is 1 Maxed at .95 as a fix to unity rounding issues https://stackoverflow.com/a/23377473
Public property PhysicsColliderSize
Size of the collider of a physics element as a Vector3. Default is (1,1,1)
Public property PhysicsColliderType
Defines the type of the collider for a physics element. Default is Box
Public property PhysicsConcludedPosition
Updated position after simulation end
Public property PhysicsConcludedRotation
Updated rotation after simulation end
Public property PhysicsContinuousForce
A force applied continuously during simulation to a physics element as a Vector3. Default is (0,0,0)
Public property PhysicsDynamicFriction
Determines how much energy is needed to keep a moving physics element in motion. Usually a value from 0 to 1. Default is 0
Public property PhysicsInitialForce
A force applied once at simulation start to a physics element as a Vector3. Default is (0,0,0)
Public property PhysicsInitialPosition
Position at simulation start of a physics element as a Vector3. Default is (0,0,0)
Public property PhysicsInitialRotation
Rotation at simulation start of a physics element as a Vector3. Default is (0,0,0)
Public property PhysicsInitialVelocity
Velocity of a physics element applied once at simulation start as a Vector3. Default is (0,0,0)
Public property PhysicsMass
Determines the mass of the physics element in kg. Default is 1
Public property PhysicsStaticFriction
Determines how much energy is needed to set a static physics element into motion. Usually a value from 0 to 1. Default is 0
Public property TargetElement
Defines the target Element of the physics objects on which the view will match the object.
Public property TemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public property XmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
See Also