Author Topic: Machine Guns on a Car.  (Read 327 times)

I am making a car that has 2 points on it where projectiles fire from. They are not supposed to move so I don't need any animations but I don't know how to make the script and what to name the joints.

If you make a new datablock for the gun that's supposed to go on the car, then you can just use the offset value.

If you make a new datablock for the gun that's supposed to go on the car, then you can just use the offset value.

Hmm? I don't think that's the problem here, I just don't know what to add to the script. Thanks for trying to help me though.

I think I need to be clearer, I need to know what to add to the script to make the guns work, And since their are no animations, I don't think a new datablock is needed.

A new datablock is needed for the offset unless you're using a vehicle you modelled with different mountpoints.

As for making them work, you need to package ::onTrigger and call .setimagetrigger on the vehicle.