Jump to content

Game crash when killed by crawler


DooMAGE
 Share

Recommended Posts

Ok problem found after a few tests but I can't explain it.

Look at the kill() function on FPSPlayer.lua.

Comment the last line in the function:

--    self.entity:SetPhysicsMode(Entity.RigidBodyPhysics)

And the bug doesn't occur anymore. This "RigidBodyPhysics" seems not to be supported anymore.

  • Upvote 1

 

 

Link to comment
Share on other sites

True. The bug occurs again here too; strange.

It is difficult to test it properly because it is not always occuring under the same conditions ?????

But I think it is something in the kill() function.

Try to comment the 2 last lines in the kill() function, it seems to run..?

--    self.entity:SetMass(0)
--    self.entity:SetPhysicsMode(Entity.RigidBodyPhysics)

 

 

 

Link to comment
Share on other sites

  • 1 year later...
  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...