Hi all, is it possible to assign gravity to a singleobject? For example i have 2 objects, i want to set the bigger one to have a gravity and attract the smaller one to his center.
Develop games in your browser. Powerful, performant & highly capable.
No, it's not possible to set gravity to a single object, but....
You could set world gravity to 0 and use forces on objects to apply gravity on them.
If you mean some kind of gravitational pull then yes, use 'MoveToward' when the object is in range.
Hi Plinkie, i can't find a move toward object command. Did you mean set position to object? in this case there isnt any movemet:/ just a new position.