Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
LitDev
LDPhysics
ToggleMoving
LitDev.LDPhysics.ToggleMoving C# (CSharp) Method
LDPhysics Class Documentation
Show file
Open project: litdev1/LitDev
ToggleMoving()
public
static
method
Toggle a moving shape to be fixed and vice-versa. This method also sets the rotation to be on or off to match if it is moving or fixed.
public
static
ToggleMoving
(
Primitive
shapeName
) :
void
shapeName
Primitive
The shape name.
return
void
public static void ToggleMoving(Primitive shapeName) { _Engine.toggleMoving(shapeName); }
LDPhysics
AddChain
AddExplosion
AddFixedAnchor
AddFixedShape
AddInactiveShape
AddMovingAnchor
AddMovingShape
AddRope
AttachShapes
AttachShapesWithJoint
AttachShapesWithRotation
BoxShape
BrakeTire
Cast
DetachJoint
DetachShapes
DisconnectShape
DoTimestep
FollowShapeX
FollowShapeY
GetAllShapesAt
GetAngle
GetCollisions
GetContacts
GetInertia
GetJointName
GetMass
GetPan
GetPosition
GetRotation
GetShapeAt
GetTireInformation
GetTireProperties
GetVelocity
GroupShapes
Help
MoveTire
PanView
RayCast
ReadJson
RemoveChain
RemoveFrozen
RemoveRope
RemoveShape
Reset
SetAABB
SetAngle
SetBoundaries
SetBullet
SetDamping
SetForce
SetGravity
SetGroup
SetImpulse
SetJointMotor
SetPosition
SetRotation
SetShapeGravity
SetTire
SetTireProperties
SetTorque
SetVelocity
TimestepControl
ToggleMoving
ToggleRotation
ToggleSensor
TurnTire
UngroupShapes
UnsetBullet
WakeAll
WriteJson