Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. void CBullet::Physicalize()
  2. {
  3.     SEntityPhysicalizeParams physParams;
  4.     physParams.type = PE_RIGID;
  5.     physParams.mass = g_bulletRegistrator.m_mass;
  6.     physParams.nSlot = -1;
  7.  
  8.     GetEntity()->Physicalize(physParams);
  9.     GetEntity()->EnablePhysics(true);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement