VRage.Game.Components
MyPhysicsComponentBase
Assembly: VRage.Game.dll
public abstract class MyPhysicsComponentBase: MyEntityComponentBase, IMyComponentBase, IMyEntityComponentBase
Fields
| Member | Description |
|---|---|
| ContactPointDelay | Must be set before creating rigid body |
| EnabledChanged | |
| Flags | |
| IsPhantom | Use something from Havok to detect this |
Events
| Member | Description |
|---|---|
| static OnAfterAddedToContainer | Inherited from MyEntityComponentBase |
| OnBodyActiveStateChanged | OnBodyActiveStateChanged event - arg1 - Sender, arg2 - is active |
| BeforeRemovedFromContainer | Inherited from IMyEntityComponentBase |
| BeforeRemovedFromContainer | Inherited from MyEntityComponentBase |
Properties
| Member | Description |
|---|---|
| AngularAcceleration | |
| AngularDamping | Gets or sets the angular damping. |
| AngularVelocity | |
| AngularVelocityLocal | |
| CanUpdateAccelerations | |
| Center | |
| CenterOfMassLocal | |
| CenterOfMassWorld | |
| ComponentTypeDebugString | |
| Definition | |
| Enabled | Gets or sets a value indicating whether this is enabled. |
| Entity | |
| Friction | |
| Gravity | |
| HasRigidBody | |
| IsActive | |
| IsInWorld | |
| IsKinematic | Gets or sets a value indicating whether this is kinematic. |
| IsMoving | |
| IsStatic | Gets or sets a value indicating whether this is static. |
| LinearAcceleration | |
| LinearDamping | Gets or sets the linear damping. |
| LinearVelocity | Gets or sets the linear velocity. |
| LinearVelocityLocal | |
| LinearVelocityUnsafe | |
| Mass | Gets or sets the mass. |
| MaterialType | Gets or sets the type of the material. |
| PlayCollisionCueEnabled | Gets or sets a value indicating whether [play collision cue enabled]. |
| ReportAllContacts | |
| RigidBody | Obtain/set (default) rigid body of this physics object. |
| RigidBody2 | Obtain/set secondary rigid body of this physics object (not used by default, it is used sometimes on grids for kinematic layer). |
| ShapeChangeInProgress | |
| Speed | Gets or sets the speed. |
| SupportNormal | |
| AttachSyncToEntity | Inherited from MyEntityComponentBase |
| ComponentTypeDebugString | Inherited from IMyEntityComponentBase |
| ComponentTypeDebugString | Name of the base component type for debug purposes (e.g.: "Position") Inherited from MyEntityComponentBase |
| Container | Inherited from IMyEntityComponentBase |
| Container | Inherited from MyEntityComponentBase |
| ContainerBase | Inherited from IMyComponentBase |
| ContainerBase | This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. Inherited from MyComponentBase |
| Entity | Inherited from IMyEntityComponentBase |
| Entity | Inherited from MyEntityComponentBase |
| FailedOnSceneAdd | Inherited from MyComponentBase |
| RemoveExistingComponentOnNewInsert | Inherited from IMyComponentBase |
| RemoveExistingComponentOnNewInsert | Inherited from MyComponentBase |
Methods
Inheritance: MyComponentBase ˃ MyEntityComponentBase
Implements: