PhysicsRigidBodyGravityEnabled Property |
Whether gravity affects the rigid body.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic bool GravityEnabled { get; set; }Property Value
Type:
Boolean
Remarks
This property is irrelevant for kinematic bodies since such bodies are unaffected by
all forces (including gravity). However, for dynamic rigid bodies, setting this to false
will cause the body to float as if it were in space.
See Also