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

Method state_end

ogsr_engine/xrGame/interactive_motion.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void interactive_motion::state_end(CPhysicsShell* s)
69{
70 flags.set(fl_switch_dm_toragdoll, FALSE);
71 flags.set(fl_use_death_motion, FALSE);
72 s->Enable();
73 s->remove_ObjectContactCallback(get_depth);
74 ////set and velocities
75 s->AnimToVelocityState(Device.fTimeDelta, default_l_limit * 10, default_w_limit * 10);
76}
77
78void interactive_motion::state_end()
79{

Callers

nothing calls this directly

Calls 8

AnimToVelocityStateMethod · 0.80
get_ElementsNumberMethod · 0.80
ToAnimBonesPositionsMethod · 0.80
EnabledCallbacksMethod · 0.80
setMethod · 0.45
EnableMethod · 0.45
set_ApplyByGravityMethod · 0.45

Tested by

no test coverage detected