Jump to content
Sign in to follow this  
gnif

Create a vehicle without a hitbox

Recommended Posts

Hi All,

I have a script that spawns a UAV in a multi-player server and flies it around a set path, this works great, the problem is that some players are getting rammed by the UAV while flying, and as much as people love the addition, it is also making people leave. Is there a way to create the UAV in such a way that it has no hit-box, so if it rams a player, nothing occurs?

Share this post


Link to post
Share on other sites

Attach it to another object :D

An object attacht to another doesn't seem to have a collision model anymore so it can also go through the ground and solid materials (which looks pretty weird actually).

If this is not an option for you (which is quite understandable because the UAV would loose some abilities while attached to another object) you could write a custom damage-handler and nullify the damage done by the UAV by comparing the source of the damage with either the type of your UAV or the name of the UAV.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×