Xwad Posted July 24, 2015 Share Posted July 24, 2015 Hi! Is it possible to make a turret tower for a vehicle to make it like a rhino? I mean negotiable turret tower that the rhino have in the game. Link to comment
GTX Posted July 25, 2015 Share Posted July 25, 2015 Yes; createObject attachElements processLineOfSight createExplosion bindKey getCameraMatrix Link to comment
Xwad Posted July 25, 2015 Author Share Posted July 25, 2015 Yeah it van be make that way but its not good for me becaouse i have a tanks sking and if i make a tower turret with an object that the skin will not ratate Link to comment
GTX Posted July 25, 2015 Share Posted July 25, 2015 You can make it rotate with setElementRotation Link to comment
Dealman Posted July 25, 2015 Share Posted July 25, 2015 You'll have to make a tank using several objects, usually 3(Hull, Turret, Barrel). Alternatively I think you can use vehicle components but I'm not entirely sure how they work. So you'd have to look that up. Barrel pitches up and down, Turret rotates along yaw. Barrel attached to turret, turret attached to the hull. If you use attachElements you can use setElementAttachedOffsets to rotate them relative to whatever they're attached to. 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