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
ToggleRotation
LitDev.LDPhysics.ToggleRotation C# (CSharp) Method
LDPhysics Class Documentation
Show file
Open project: litdev1/LitDev
ToggleRotation()
public
static
method
Toggle a shape to not rotate and vice-versa. This method toggles the rotation property for fixed and moving shapes.
public
static
ToggleRotation
(
Primitive
shapeName
) :
void
shapeName
Primitive
The shape name.
return
void
public static void ToggleRotation(Primitive shapeName) { _Engine.toggleRotation(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