Hey,
I just started dabbling around with love.physics, trying to simulate planet behaviour.
Unfortunately my two objects disappear when they collide, their x and y position becomes nan.
Check out the .love and see for yourself!
(Will print x and y position of both objects in terminal each frame)
Solution:
love.physics.getDistance doesn't get the distance from the center of the body.
[solved] love.physics error
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[solved] love.physics error
- Attachments
-
- physicsBug.love
- (1.06 KiB) Downloaded 52 times
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 64 guests