AtomicNET : AtomicEngine Namespace

RigidBody Class

Physics rigid body component.

Syntax

public class RigidBody : Component

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Component.

Public Constructors

Documentation for this section has not yet been entered.
Construct.

Public Fields

nativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Properties

[read-only]
Active bool . Documentation for this section has not yet been entered.
AngularDamping float . Documentation for this section has not yet been entered.
AngularFactor Vector3 . Documentation for this section has not yet been entered.
AngularRestThreshold float . Documentation for this section has not yet been entered.
AngularVelocity Vector3 . Documentation for this section has not yet been entered.
AnimationEnabled bool . Documentation for this section has not yet been entered. (Inherited from Animatable.)
[write-only]
AnimationTime float . Documentation for this section has not yet been entered. (Inherited from Animatable.)
AnisotropicFriction Vector3 . Documentation for this section has not yet been entered.
[read-only]
Category string . Documentation for this section has not yet been entered. (Inherited from AObject.)
CcdMotionThreshold float . Documentation for this section has not yet been entered.
CcdRadius float . Documentation for this section has not yet been entered.
[read-only]
CenterOfMass Vector3 . Documentation for this section has not yet been entered.
CollisionEventMode CollisionEventMode . Documentation for this section has not yet been entered.
CollisionLayer uint . Documentation for this section has not yet been entered.
CollisionMask uint . Documentation for this section has not yet been entered.
ContactProcessingThreshold float . Documentation for this section has not yet been entered.
[read-only]
Context Context . Documentation for this section has not yet been entered. (Inherited from AObject.)
Enabled bool . Documentation for this section has not yet been entered. (Inherited from Component.)
[read-only]
EnabledEffective bool . Documentation for this section has not yet been entered. (Inherited from Component.)
[read-only]
EventSender AObject . Documentation for this section has not yet been entered. (Inherited from AObject.)
Friction float . Documentation for this section has not yet been entered.
GravityOverride Vector3 . Documentation for this section has not yet been entered.
[read-only]
ID uint . Documentation for this section has not yet been entered. (Inherited from Component.)
InstantiationType InstantiationType . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
Kinematic bool . Documentation for this section has not yet been entered.
LinearDamping float . Documentation for this section has not yet been entered.
LinearFactor Vector3 . Documentation for this section has not yet been entered.
LinearRestThreshold float . Documentation for this section has not yet been entered.
LinearVelocity Vector3 . Documentation for this section has not yet been entered.
Mass float . Documentation for this section has not yet been entered.
[read-only]
NativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
Node Node . Documentation for this section has not yet been entered. (Inherited from Component.)
[read-only]
NumAttributes uint . Documentation for this section has not yet been entered. (Inherited from Serializable.)
[read-only]
NumNetworkAttributes uint . Documentation for this section has not yet been entered. (Inherited from Serializable.)
ObjectAnimation ObjectAnimation . Documentation for this section has not yet been entered. (Inherited from Animatable.)
[read-only]
PhysicsWorld PhysicsWorld . Documentation for this section has not yet been entered.
Position Vector3 . Documentation for this section has not yet been entered.
Restitution float . Documentation for this section has not yet been entered.
RollingFriction float . Documentation for this section has not yet been entered.
Rotation Quaternion . Documentation for this section has not yet been entered.
[read-only]
Scene Scene . Documentation for this section has not yet been entered. (Inherited from Component.)
Temporary bool . Documentation for this section has not yet been entered. (Inherited from Serializable.)
Trigger bool . Documentation for this section has not yet been entered.
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
TypeNameStatic string . Documentation for this section has not yet been entered. (Inherited from AObject.)
UseGravity bool . Documentation for this section has not yet been entered.

Public Methods

Activate ()
Activate rigid body if it was resting.
AddConstraint (Constraint)
Add a constraint that refers to this rigid body.
AddRef ()
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
AddRefSilent ()
Increment reference count. Do not call any lifetime book keeping (Inherited from RefCounted.)
AllocateNetworkState ()
Allocate network attribute state. (Inherited from Serializable.)
override
ApplyAttributes ()
Apply attribute changes that can not be applied immediately. Called after scene load or a network update.
ApplyAttributes ()
Apply attribute changes that can not be applied immediately. Called after scene load or a network update. (Inherited from Serializable.)
ApplyForce (Vector3)
Apply force to center of mass.
ApplyForce (Vector3, Vector3)
Apply force at local position.
ApplyImpulse (Vector3)
Apply impulse to center of mass.
ApplyImpulse (Vector3, Vector3)
Apply impulse at local position.
ApplyTorque (Vector3)
Apply torque.
ApplyTorqueImpulse (Vector3)
Apply torque impulse.
ApplyWorldTransform (Vector3, Quaternion)
Apply new world transform after a simulation step. Called internally.
CleanupConnection (Connection)
Clean up all references to a network connection that is about to be removed. (Inherited from Component.)
static
csb_Atomic_RigidBody_GetClassIDStatic () : IntPtr
Documentation for this section has not yet been entered.
DisableMassUpdate ()
Disable mass update. Call this to optimize performance when adding or editing multiple collision shapes in the same node.
override
DrawDebugGeometry (DebugRenderer, bool)
Visualize the component as debug geometry.
DrawDebugGeometry (DebugRenderer, bool)
Visualize the component as debug geometry. (Inherited from Component.)
EnableMassUpdate ()
Re-enable mass update and recalculate the mass/inertia by calling UpdateMass(). Call when collision shape changes are finished.
GetAngularDamping () : float
Return angular velocity damping factor.
GetAngularFactor () : Vector3
Return angular degrees of freedom.
GetAngularRestThreshold () : float
Return angular velocity deactivation threshold.
GetAngularVelocity () : Vector3
Return angular velocity.
GetAnimationEnabled () : bool
Return animation enabled. (Inherited from Animatable.)
GetAnisotropicFriction () : Vector3
Return anisotropic friction.
GetAttributeAnimation (string) : ValueAnimation
Return attribute animation. (Inherited from Animatable.)
GetAttributeAnimationSpeed (string) : float
Return attribute animation speed. (Inherited from Animatable.)
GetAttributeAnimationTime (string) : float
Return attribute animation time position. (Inherited from Animatable.)
GetAttributeAnimationWrapMode (string) : WrapMode
Return attribute animation wrap mode. (Inherited from Animatable.)
GetCategory () : string
Return object category. Categories are (optionally) registered along with the object factory. Return an empty string if the object category is not registered. (Inherited from AObject.)
GetCcdMotionThreshold () : float
Return continuous collision detection motion-per-simulation-step threshold.
GetCcdRadius () : float
Return continuous collision detection swept sphere radius.
GetCenterOfMass () : Vector3
Return center of mass offset.
GetCollidingBodies (Vector<RigidBody>)
Return colliding rigid bodies from the last simulation step. Only returns collisions that were sent as events (depends on collision event mode) and excludes e.g. static-static collisions.
GetCollisionEventMode () : CollisionEventMode
Return collision event signaling mode.
GetCollisionLayer () : uint
Return collision layer.
GetCollisionMask () : uint
Return collision mask.
GetComponent (StringHash) : Component
Return component in the same scene node by type. If there are several, returns the first. (Inherited from Component.)
GetComponent<T> (bool) : T
Documentation for this section has not yet been entered. (Inherited from Component.)
GetComponents (Vector<Component>, StringHash)
Return components in the same scene node by type. (Inherited from Component.)
GetContactProcessingThreshold () : float
Return contact processing threshold.
GetContext () : Context
Return execution context. (Inherited from AObject.)
GetDependencyNodes (Vector<Node>)
Return the depended on nodes to order network updates. (Inherited from Component.)
GetEventSender () : AObject
Return active event sender. Null outside event handling. (Inherited from AObject.)
GetFriction () : float
Return friction coefficient.
GetGravityOverride () : Vector3
Return gravity override. If zero (default), uses the physics world's gravity.
GetID () : uint
Return ID. (Inherited from Component.)
GetInstantiationType () : InstantiationType
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetInterceptNetworkUpdate (string) : bool
Return whether an attribute's network updates are being intercepted. (Inherited from Serializable.)
GetLinearDamping () : float
Return linear velocity damping factor.
GetLinearFactor () : Vector3
Return linear degrees of freedom.
GetLinearRestThreshold () : float
Return linear velocity deactivation threshold.
GetLinearVelocity () : Vector3
Return linear velocity.
GetMass () : float
Return mass.
GetNode () : Node
Return scene node. (Inherited from Component.)
GetNumAttributes () : uint
Return number of attributes. (Inherited from Serializable.)
GetNumNetworkAttributes () : uint
Return number of network replication attributes. (Inherited from Serializable.)
GetObjectAnimation () : ObjectAnimation
Return object animation. (Inherited from Animatable.)
GetPhysicsWorld () : PhysicsWorld
Return physics world.
GetPosition () : Vector3
Return rigid body position in world space.
GetRestitution () : float
Return restitution coefficient.
GetRollingFriction () : float
Return rolling friction coefficient.
GetRotation () : Quaternion
Return rigid body rotation in world space.
GetScene () : Scene
Return the scene the node belongs to. (Inherited from Component.)
GetSubsystem (StringHash) : AObject
Return subsystem by type. (Inherited from AObject.)
override
GetTypeName () : string
Return type name. (Inherited from AObject.)
GetTypeName () : string
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetUseGravity () : bool
Return whether rigid body uses gravity.
GetVelocityAtPoint (Vector3) : Vector3
Return linear velocity at local point.
HasEventHandlers () : bool
Return whether has subscribed to any event. (Inherited from AObject.)
HasSubscribedToEvent (StringHash) : bool
Return whether has subscribed to an event without specific sender. (Inherited from AObject.)
HasSubscribedToEvent (AObject, StringHash) : bool
Return whether has subscribed to a specific sender's event. (Inherited from AObject.)
IsActive () : bool
Return whether rigid body is active (not sleeping.)
IsEnabled () : bool
Return whether is enabled. (Inherited from Component.)
IsEnabledEffective () : bool
Return whether is effectively enabled (node is also enabled.) (Inherited from Component.)
IsInstanceOf (StringHash) : bool
Check current instance is type of specified type. (Inherited from AObject.)
IsKinematic () : bool
Return kinematic mode flag.
override
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from AObject.)
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
IsTemporary () : bool
Return whether is temporary. (Inherited from Serializable.)
IsTrigger () : bool
Return whether this RigidBody is acting as a trigger.
Load (Deserializer, bool) : bool
Load from binary data. When setInstanceDefault is set to true, after setting the attribute value, store the value as instance's default value. Return true if successful. (Inherited from Serializable.)
override
MarkNetworkUpdate ()
Mark for attribute check on the next network update. (Inherited from Component.)
MarkNetworkUpdate ()
Mark for attribute check on the next network update. (Inherited from Serializable.)
override
OnSetEnabled ()
Handle enabled/disabled state change.
OnSetEnabled ()
Handle enabled/disabled state change. (Inherited from Component.)
PrepareNetworkUpdate ()
Prepare network update by comparing attributes and marking replication states dirty as necessary. (Inherited from Component.)
ReAddBodyToWorld ()
Readd rigid body to the physics world to clean up internal state like stale contacts.
ReadDeltaUpdate (Deserializer) : bool
Read and apply a network delta update. Return true if attributes were changed. (Inherited from Serializable.)
ReadLatestDataUpdate (Deserializer) : bool
Read and apply a network latest data update. Return true if attributes were changed. (Inherited from Serializable.)
Refs () : int
Return reference count. (Inherited from RefCounted.)
ReleaseBody ()
Remove the rigid body.
ReleaseRef ()
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
Remove ()
Remove from the scene node. If no other shared pointer references exist, causes immediate deletion. (Inherited from Component.)
RemoveAttributeAnimation (string)
Remove attribute animation. Same as calling SetAttributeAnimation with a null pointer. (Inherited from Animatable.)
RemoveConstraint (Constraint)
Remove a constraint that refers to this rigid body.
RemoveInstanceDefault ()
Remove instance's default values if they are set previously. (Inherited from Serializable.)
RemoveObjectAnimation ()
Remove object animation. Same as calling SetObjectAnimation with a null pointer. (Inherited from Animatable.)
ResetForces ()
Reset accumulated forces.
ResetToDefault ()
Reset all editable attributes to their default values. (Inherited from Serializable.)
override
Save (Serializer) : bool
Save as binary data. Return true if successful. (Inherited from Component.)
Save (Serializer) : bool
Save as binary data. Return true if successful. (Inherited from Serializable.)
SaveDefaultAttributes () : bool
Return whether should save default-valued attributes into XML. Default false. (Inherited from Serializable.)
SendEvent (string, ScriptVariantMap)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SetAngularDamping (float)
Set angular velocity damping factor.
SetAngularFactor (Vector3)
Set angular degrees of freedom. Use 1 to enable an axis or 0 to disable. Default is all axes enabled (1, 1, 1).
SetAngularRestThreshold (float)
Set angular velocity deactivation threshold.
SetAngularVelocity (Vector3)
Set angular velocity.
SetAnimationEnabled (bool)
Set automatic update of animation, default true. (Inherited from Animatable.)
SetAnimationTime (float)
Set time position of all attribute animations or an object animation manually. Automatic update should be disabled in this case. (Inherited from Animatable.)
SetAnisotropicFriction (Vector3)
Set anisotropic friction.
SetAttributeAnimation (string, ValueAnimation, WrapMode, float)
Set attribute animation. (Inherited from Animatable.)
SetAttributeAnimationSpeed (string, float)
Set attribute animation speed. (Inherited from Animatable.)
SetAttributeAnimationTime (string, float)
Set attribute animation time position manually. Automatic update should be disabled in this case. (Inherited from Animatable.)
SetAttributeAnimationWrapMode (string, WrapMode)
Set attribute animation wrap mode. (Inherited from Animatable.)
SetCcdMotionThreshold (float)
Set continuous collision detection motion-per-simulation-step threshold. 0 disables, which is the default.
SetCcdRadius (float)
Set continuous collision detection swept sphere radius.
SetCollisionEventMode (CollisionEventMode)
Set collision event signaling mode. Default is to signal when rigid bodies are active.
SetCollisionLayer (uint)
Set collision layer.
SetCollisionLayerAndMask (uint, uint)
Set collision group and mask.
SetCollisionMask (uint)
Set collision mask.
SetContactProcessingThreshold (float)
Set contact processing threshold.
SetEnabled (bool)
Set enabled/disabled state. (Inherited from Component.)
SetFriction (float)
Set friction coefficient.
SetGravityOverride (Vector3)
Set gravity override. If zero, uses physics world's gravity.
SetInstantiationType (InstantiationType)
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
SetInterceptNetworkUpdate (string, bool)
Enable interception of an attribute from network updates. Intercepted attributes are sent as events instead of applying directly. This can be used to implement client side prediction. (Inherited from Serializable.)
SetKinematic (bool)
Set rigid body kinematic mode. In kinematic mode forces are not applied to the rigid body.
SetLinearDamping (float)
Set linear velocity damping factor.
SetLinearFactor (Vector3)
Set linear degrees of freedom. Use 1 to enable an axis or 0 to disable. Default is all axes enabled (1, 1, 1).
SetLinearRestThreshold (float)
Set linear velocity deactivation threshold.
SetLinearVelocity (Vector3)
Set linear velocity.
SetMass (float)
Set mass. Zero mass makes the body static.
SetObjectAnimation (ObjectAnimation)
Set object animation. (Inherited from Animatable.)
SetPosition (Vector3)
Set rigid body position in world space.
SetRestitution (float)
Set restitution coefficient.
SetRollingFriction (float)
Set rolling friction coefficient.
SetRotation (Quaternion)
Set rigid body rotation in world space.
SetTemporary (bool)
Set temporary flag. Temporary objects will not be saved. (Inherited from Serializable.)
SetTransform (Vector3, Quaternion)
Set rigid body position and rotation in world space as an atomic operation.
SetTrigger (bool)
Set rigid body trigger mode. In trigger mode collisions are reported but do not apply forces.
SetUseGravity (bool)
Set whether gravity is applied to rigid body.
SubscribeToEvent (string, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (uint, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (AObject, string, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (AObject, uint, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent<T> (NativeEventDelegate<T>)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent<T> (AObject, NativeEventDelegate<T>)
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromAllEvents ()
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEvent (StringHash)
Unsubscribe from an event. (Inherited from AObject.)
UnsubscribeFromEvent (uint)
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEvent (AObject, StringHash)
Unsubscribe from a specific sender's event. (Inherited from AObject.)
UnsubscribeFromEvent<T> ()
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEventReceiver (AObject)
Unsubscribe from event for specific receiver (where the event handler isn't necessarily in the subscribed object) (Inherited from AObject.)
UnsubscribeFromEvents (AObject)
Unsubscribe from a specific sender's events. (Inherited from AObject.)
UpdateGravity ()
Update gravity parameters to the Bullet rigid body.
UpdateMass ()
Update mass and inertia to the Bullet rigid body.
WeakRefs () : int
Return weak reference count. (Inherited from RefCounted.)
WriteInitialDeltaUpdate (Serializer, byte)
Write initial delta network update. (Inherited from Serializable.)
WriteLatestDataUpdate (Serializer, byte)
Write a latest data network update. (Inherited from Serializable.)

Member Details

RigidBody Constructor

Documentation for this section has not yet been entered.

Syntax

public RigidBody ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RigidBody Constructor

Construct.

Syntax

public RigidBody (IntPtr native)

Parameters

native
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Activate Method

Activate rigid body if it was resting.

Syntax

public void Activate ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Active Property

Documentation for this section has not yet been entered.

Syntax

public bool Active { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AddConstraint Method

Add a constraint that refers to this rigid body.

Syntax

public void AddConstraint (Constraint constraint)

Parameters

constraint
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AngularDamping Property

Documentation for this section has not yet been entered.

Syntax

public float AngularDamping { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AngularFactor Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 AngularFactor { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AngularRestThreshold Property

Documentation for this section has not yet been entered.

Syntax

public float AngularRestThreshold { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AngularVelocity Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 AngularVelocity { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

AnisotropicFriction Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 AnisotropicFriction { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyAttributes Method

Apply attribute changes that can not be applied immediately. Called after scene load or a network update.

Syntax

public override void ApplyAttributes ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyForce Method

Apply force to center of mass.

Syntax

public void ApplyForce (Vector3 force)

Parameters

force
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyForce Method

Apply force at local position.

Syntax

public void ApplyForce (Vector3 force, Vector3 position)

Parameters

force
Documentation for this section has not yet been entered.
position
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyImpulse Method

Apply impulse to center of mass.

Syntax

public void ApplyImpulse (Vector3 impulse)

Parameters

impulse
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyImpulse Method

Apply impulse at local position.

Syntax

public void ApplyImpulse (Vector3 impulse, Vector3 position)

Parameters

impulse
Documentation for this section has not yet been entered.
position
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyTorque Method

Apply torque.

Syntax

public void ApplyTorque (Vector3 torque)

Parameters

torque
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyTorqueImpulse Method

Apply torque impulse.

Syntax

public void ApplyTorqueImpulse (Vector3 torque)

Parameters

torque
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ApplyWorldTransform Method

Apply new world transform after a simulation step. Called internally.

Syntax

public void ApplyWorldTransform (Vector3 newWorldPosition, Quaternion newWorldRotation)

Parameters

newWorldPosition
Documentation for this section has not yet been entered.
newWorldRotation
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CcdMotionThreshold Property

Documentation for this section has not yet been entered.

Syntax

public float CcdMotionThreshold { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CcdRadius Property

Documentation for this section has not yet been entered.

Syntax

public float CcdRadius { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CenterOfMass Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 CenterOfMass { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CollisionEventMode Property

Documentation for this section has not yet been entered.

Syntax

public CollisionEventMode CollisionEventMode { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CollisionLayer Property

Documentation for this section has not yet been entered.

Syntax

public uint CollisionLayer { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CollisionMask Property

Documentation for this section has not yet been entered.

Syntax

public uint CollisionMask { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ContactProcessingThreshold Property

Documentation for this section has not yet been entered.

Syntax

public float ContactProcessingThreshold { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

csb_Atomic_RigidBody_GetClassIDStatic Method

Documentation for this section has not yet been entered.

Syntax

public static IntPtr csb_Atomic_RigidBody_GetClassIDStatic ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DisableMassUpdate Method

Disable mass update. Call this to optimize performance when adding or editing multiple collision shapes in the same node.

Syntax

public void DisableMassUpdate ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DrawDebugGeometry Method

Visualize the component as debug geometry.

Syntax

public override void DrawDebugGeometry (DebugRenderer debug, bool depthTest)

Parameters

debug
Documentation for this section has not yet been entered.
depthTest
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

EnableMassUpdate Method

Re-enable mass update and recalculate the mass/inertia by calling UpdateMass(). Call when collision shape changes are finished.

Syntax

public void EnableMassUpdate ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Friction Property

Documentation for this section has not yet been entered.

Syntax

public float Friction { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAngularDamping Method

Return angular velocity damping factor.

Syntax

public float GetAngularDamping ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAngularFactor Method

Return angular degrees of freedom.

Syntax

public Vector3 GetAngularFactor ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAngularRestThreshold Method

Return angular velocity deactivation threshold.

Syntax

public float GetAngularRestThreshold ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAngularVelocity Method

Return angular velocity.

Syntax

public Vector3 GetAngularVelocity ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetAnisotropicFriction Method

Return anisotropic friction.

Syntax

public Vector3 GetAnisotropicFriction ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCcdMotionThreshold Method

Return continuous collision detection motion-per-simulation-step threshold.

Syntax

public float GetCcdMotionThreshold ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCcdRadius Method

Return continuous collision detection swept sphere radius.

Syntax

public float GetCcdRadius ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCenterOfMass Method

Return center of mass offset.

Syntax

public Vector3 GetCenterOfMass ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCollidingBodies Method

Return colliding rigid bodies from the last simulation step. Only returns collisions that were sent as events (depends on collision event mode) and excludes e.g. static-static collisions.

Syntax

public void GetCollidingBodies (Vector<RigidBody> result)

Parameters

result
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCollisionEventMode Method

Return collision event signaling mode.

Syntax

public CollisionEventMode GetCollisionEventMode ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCollisionLayer Method

Return collision layer.

Syntax

public uint GetCollisionLayer ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCollisionMask Method

Return collision mask.

Syntax

public uint GetCollisionMask ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetContactProcessingThreshold Method

Return contact processing threshold.

Syntax

public float GetContactProcessingThreshold ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetFriction Method

Return friction coefficient.

Syntax

public float GetFriction ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetGravityOverride Method

Return gravity override. If zero (default), uses the physics world's gravity.

Syntax

public Vector3 GetGravityOverride ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetLinearDamping Method

Return linear velocity damping factor.

Syntax

public float GetLinearDamping ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetLinearFactor Method

Return linear degrees of freedom.

Syntax

public Vector3 GetLinearFactor ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetLinearRestThreshold Method

Return linear velocity deactivation threshold.

Syntax

public float GetLinearRestThreshold ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetLinearVelocity Method

Return linear velocity.

Syntax

public Vector3 GetLinearVelocity ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetMass Method

Return mass.

Syntax

public float GetMass ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetPhysicsWorld Method

Return physics world.

Syntax

public PhysicsWorld GetPhysicsWorld ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetPosition Method

Return rigid body position in world space.

Syntax

public Vector3 GetPosition ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetRestitution Method

Return restitution coefficient.

Syntax

public float GetRestitution ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetRollingFriction Method

Return rolling friction coefficient.

Syntax

public float GetRollingFriction ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetRotation Method

Return rigid body rotation in world space.

Syntax

public Quaternion GetRotation ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetUseGravity Method

Return whether rigid body uses gravity.

Syntax

public bool GetUseGravity ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetVelocityAtPoint Method

Return linear velocity at local point.

Syntax

public Vector3 GetVelocityAtPoint (Vector3 position)

Parameters

position
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GravityOverride Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 GravityOverride { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

IsActive Method

Return whether rigid body is active (not sleeping.)

Syntax

public bool IsActive ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

IsKinematic Method

Return kinematic mode flag.

Syntax

public bool IsKinematic ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

IsTrigger Method

Return whether this RigidBody is acting as a trigger.

Syntax

public bool IsTrigger ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Kinematic Property

Documentation for this section has not yet been entered.

Syntax

public bool Kinematic { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

LinearDamping Property

Documentation for this section has not yet been entered.

Syntax

public float LinearDamping { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

LinearFactor Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 LinearFactor { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

LinearRestThreshold Property

Documentation for this section has not yet been entered.

Syntax

public float LinearRestThreshold { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

LinearVelocity Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 LinearVelocity { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Mass Property

Documentation for this section has not yet been entered.

Syntax

public float Mass { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

OnSetEnabled Method

Handle enabled/disabled state change.

Syntax

public override void OnSetEnabled ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

PhysicsWorld Property

Documentation for this section has not yet been entered.

Syntax

public PhysicsWorld PhysicsWorld { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Position Property

Documentation for this section has not yet been entered.

Syntax

public Vector3 Position { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ReAddBodyToWorld Method

Readd rigid body to the physics world to clean up internal state like stale contacts.

Syntax

public void ReAddBodyToWorld ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ReleaseBody Method

Remove the rigid body.

Syntax

public void ReleaseBody ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RemoveConstraint Method

Remove a constraint that refers to this rigid body.

Syntax

public void RemoveConstraint (Constraint constraint)

Parameters

constraint
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ResetForces Method

Reset accumulated forces.

Syntax

public void ResetForces ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Restitution Property

Documentation for this section has not yet been entered.

Syntax

public float Restitution { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RollingFriction Property

Documentation for this section has not yet been entered.

Syntax

public float RollingFriction { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Rotation Property

Documentation for this section has not yet been entered.

Syntax

public Quaternion Rotation { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetAngularDamping Method

Set angular velocity damping factor.

Syntax

public void SetAngularDamping (float factor)

Parameters

factor
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetAngularFactor Method

Set angular degrees of freedom. Use 1 to enable an axis or 0 to disable. Default is all axes enabled (1, 1, 1).

Syntax

public void SetAngularFactor (Vector3 factor)

Parameters

factor
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetAngularRestThreshold Method

Set angular velocity deactivation threshold.

Syntax

public void SetAngularRestThreshold (float threshold)

Parameters

threshold
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetAngularVelocity Method

Set angular velocity.

Syntax

public void SetAngularVelocity (Vector3 angularVelocity)

Parameters

angularVelocity
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetAnisotropicFriction Method

Set anisotropic friction.

Syntax

public void SetAnisotropicFriction (Vector3 friction)

Parameters

friction
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCcdMotionThreshold Method

Set continuous collision detection motion-per-simulation-step threshold. 0 disables, which is the default.

Syntax

public void SetCcdMotionThreshold (float threshold)

Parameters

threshold
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCcdRadius Method

Set continuous collision detection swept sphere radius.

Syntax

public void SetCcdRadius (float radius)

Parameters

radius
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCollisionEventMode Method

Set collision event signaling mode. Default is to signal when rigid bodies are active.

Syntax

public void SetCollisionEventMode (CollisionEventMode mode)

Parameters

mode
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCollisionLayer Method

Set collision layer.

Syntax

public void SetCollisionLayer (uint layer)

Parameters

layer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCollisionLayerAndMask Method

Set collision group and mask.

Syntax

public void SetCollisionLayerAndMask (uint layer, uint mask)

Parameters

layer
Documentation for this section has not yet been entered.
mask
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCollisionMask Method

Set collision mask.

Syntax

public void SetCollisionMask (uint mask)

Parameters

mask
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetContactProcessingThreshold Method

Set contact processing threshold.

Syntax

public void SetContactProcessingThreshold (float threshold)

Parameters

threshold
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetFriction Method

Set friction coefficient.

Syntax

public void SetFriction (float friction)

Parameters

friction
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetGravityOverride Method

Set gravity override. If zero, uses physics world's gravity.

Syntax

public void SetGravityOverride (Vector3 gravity)

Parameters

gravity
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetKinematic Method

Set rigid body kinematic mode. In kinematic mode forces are not applied to the rigid body.

Syntax

public void SetKinematic (bool enable)

Parameters

enable
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetLinearDamping Method

Set linear velocity damping factor.

Syntax

public void SetLinearDamping (float damping)

Parameters

damping
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetLinearFactor Method

Set linear degrees of freedom. Use 1 to enable an axis or 0 to disable. Default is all axes enabled (1, 1, 1).

Syntax

public void SetLinearFactor (Vector3 factor)

Parameters

factor
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetLinearRestThreshold Method

Set linear velocity deactivation threshold.

Syntax

public void SetLinearRestThreshold (float threshold)

Parameters

threshold
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetLinearVelocity Method

Set linear velocity.

Syntax

public void SetLinearVelocity (Vector3 velocity)

Parameters

velocity
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetMass Method

Set mass. Zero mass makes the body static.

Syntax

public void SetMass (float mass)

Parameters

mass
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetPosition Method

Set rigid body position in world space.

Syntax

public void SetPosition (Vector3 position)

Parameters

position
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetRestitution Method

Set restitution coefficient.

Syntax

public void SetRestitution (float restitution)

Parameters

restitution
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetRollingFriction Method

Set rolling friction coefficient.

Syntax

public void SetRollingFriction (float friction)

Parameters

friction
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetRotation Method

Set rigid body rotation in world space.

Syntax

public void SetRotation (Quaternion rotation)

Parameters

rotation
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetTransform Method

Set rigid body position and rotation in world space as an atomic operation.

Syntax

public void SetTransform (Vector3 position, Quaternion rotation)

Parameters

position
Documentation for this section has not yet been entered.
rotation
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetTrigger Method

Set rigid body trigger mode. In trigger mode collisions are reported but do not apply forces.

Syntax

public void SetTrigger (bool enable)

Parameters

enable
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetUseGravity Method

Set whether gravity is applied to rigid body.

Syntax

public void SetUseGravity (bool enable)

Parameters

enable
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Trigger Property

Documentation for this section has not yet been entered.

Syntax

public bool Trigger { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

UpdateGravity Method

Update gravity parameters to the Bullet rigid body.

Syntax

public void UpdateGravity ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

UpdateMass Method

Update mass and inertia to the Bullet rigid body.

Syntax

public void UpdateMass ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

UseGravity Property

Documentation for this section has not yet been entered.

Syntax

public bool UseGravity { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0