MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / onMount

Method onMount

Engine/source/T3D/physics/physicsForce.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void PhysicsForce::onMount( SceneObject *obj, S32 node )
118{
119 Parent::onMount( obj, node );
120
121 processAfter( obj );
122
123 MatrixF mat( true );
124 mMount.object->getMountTransform( mMount.node, mMount.xfm, &mat );
125 setTransform( mat );
126}
127
128void PhysicsForce::onUnmount( SceneObject *obj, S32 node )
129{

Callers

nothing calls this directly

Calls 1

getMountTransformMethod · 0.45

Tested by

no test coverage detected