MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / play

Method play

ogsr_engine/xrGame/interactive_motion.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void interactive_motion::play(CPhysicsShell* s)
47{
48 VERIFY(s);
49 smart_cast<IKinematicsAnimated*>(s->PKinematics())->PlayCycle(motion, TRUE, anim_callback, this);
50 state_start(s);
51}
52
53float depth = 0;
54void get_depth(bool& do_colide, bool bo1, dContact& c, SGameMtl* /*material_1*/, SGameMtl* /*material_2*/) { save_max(depth, c.geom.depth); }

Callers

nothing calls this directly

Calls 1

PlayCycleMethod · 0.80

Tested by

no test coverage detected