StreetFighter163 Posted November 3, 2010 Share Posted November 3, 2010 Hi, is it possible to make dynamic objects (like the rcbomb) created via createObject fall? And if yes, how to do that? Link to comment
12p Posted November 3, 2010 Share Posted November 3, 2010 https://wiki.multitheftauto.com/wiki/MoveObject Link to comment
StreetFighter163 Posted November 3, 2010 Author Share Posted November 3, 2010 I need the bomb to react to collisions, this makes it simply move through other objects Link to comment
dzek (varez) Posted November 3, 2010 Share Posted November 3, 2010 objects are like "inactive" until touched. they can't be moved with setElementVelocity etc.; after you touch them - they are working (until you go away, and get back - they are re-created and needed to be touched again). This sucks. Also position change of objects like that ISN'T SYNCED AT ALL! The only weird way to avoid it is to create a vehicle, set it's alpha to 0, disable it's collision, and attach to this vehicle your object - but object will have car weight rather than it's own. Link to comment
StreetFighter163 Posted November 3, 2010 Author Share Posted November 3, 2010 Thank you for your reply! I will use an invisible RC-car Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now