ShadowLoleris Posted July 19, 2017 Posted July 19, 2017 Why can I go through the objects I've put on the map if the collision has been disabled?
MTA Team Lpsd Posted July 19, 2017 MTA Team Posted July 19, 2017 That's exactly what's supposed to happen if you disable the collision for an object. No collision = you can't hit the object, you just pass through it.
ShadowLoleris Posted July 19, 2017 Author Posted July 19, 2017 1 hour ago, LopSided_ said: That's exactly what's supposed to happen if you disable the collision for an object. No collision = you can't hit the object, you just pass through it. I do not want to go through the object either with the character or with a vehicle!
pa3ck Posted July 19, 2017 Posted July 19, 2017 So why do you want to disable the collision in the first place?
MTA Team Lpsd Posted July 19, 2017 MTA Team Posted July 19, 2017 Just leave the collisions enabled then...
MTA Team Dutchman101 Posted July 19, 2017 MTA Team Posted July 19, 2017 Maybe you need to learn the definition of collisions first (what it means) before fiddling with those values.. That's why you (think) you've run into a problem.
ShadowLoleris Posted July 19, 2017 Author Posted July 19, 2017 In my own 'Nephrite Diamond' server I put some objects on the map, like gates! Unfortunately, it can pass through the character or vehicles through these objects! The collision was set to false, that is, the collision was disabled.
Captain Cody Posted July 19, 2017 Posted July 19, 2017 You need to set the elements collisions enabled. Using setElementCollisionsEnabled(crate,true) 1
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