Jump to content

Joint not working when parent mass = 0


Recommended Posts

Joint work between two "prop" objects each having a mass > 0

It don't work if parent object have a mass = 0

 

 

How to test :

Download file and Dezip

- put script joint.lua in folder Scripts of your project directly

- put level map : jointError in your map folder

- Laod new map in editor and launch the game.

 

Two falling objects on left will have joint active

Two objects on right, the sphere will fall without joint working.

jointTest.zip

Stop toying and make games

Link to comment
Share on other sites

Seems Joint:Ball works specifically, but nothing is in the docs and no example

 

If you have only one dynamic object and no dynamic parent then just call Joint functions without specifying any parent makes the child attached to the pivot coordinates.

If you have two non static objects than call the function giving parent entity.

 

LE3 docs would need serious physic examples.

 

Thread canbe closed.

  • Upvote 1

Stop toying and make games

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...