MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetUseCCD

Method SetUseCCD

Source/Engine/Physics/Actors/RigidBody.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void RigidBody::SetUseCCD(bool value)
78{
79 if (value == GetUseCCD())
80 return;
81 _useCCD = value;
82 if (_actor)
83 PhysicsBackend::SetRigidDynamicActorFlag(_actor, PhysicsBackend::RigidDynamicFlags::CCD, value);
84}
85
86void RigidBody::SetEnableGravity(bool value)
87{

Callers

nothing calls this directly

Calls 2

GetUseCCDFunction · 0.85
SetRigidDynamicActorFlagFunction · 0.85

Tested by

no test coverage detected