Hello All,
I have been reading the documentation and made a few additions to the “Jungle Scene” to see if i could make the cat fall, hit the ground and continue running, so this is what i added:
[lua]local physics = require(“physics”)
physics.start()
physics.setGravity(0, 9.8)
physics.addBody(instance1, {bounce = 0.2, friction = .2})
physics.addBody(ground, “static”, {bounce = 0.2, friction = .2})[/lua]
the result is that the cat indeed falls, but hits “air” instead of the ground itself, what iam missing here? how can i make this work?
Much appreciated [import]uid: 25410 topic_id: 5385 reply_id: 305385[/import]
[import]uid: 25410 topic_id: 5385 reply_id: 18052[/import]