MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / Reset

Function Reset

examples/InverseKinematics/InverseKinematicsExample.cpp:56–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54#endif
55
56void Reset(Tree& tree, Jacobian* m_ikJacobian)
57{
58 AxesOn = false;
59
60 Scale = 1.0;
61 Scale2 = 0.0; /* because add 1. to it in Display() */
62
63 JointLimitsOn = true;
64 RestPositionOn = false;
65 UseJacobianTargets1 = false;
66
67 tree.Init();
68 tree.Compute();
69 m_ikJacobian->Reset();
70}
71
72// Update target positions
73

Callers 15

initPhysicsMethod · 0.70
~AutoHandleMethod · 0.50
ResetMethod · 0.50
startProfilingMethod · 0.50
CProfileNodeMethod · 0.50
~btSparseSdfMethod · 0.50
InitializeMethod · 0.50
EvaluateMethod · 0.50
SetMethod · 0.50
SetInternedStrMethod · 0.50
~StrPairMethod · 0.50
SetStrMethod · 0.50

Calls 3

InitMethod · 0.45
ComputeMethod · 0.45
ResetMethod · 0.45

Tested by 2

~AutoHandleMethod · 0.40
ResetMethod · 0.40