top-down twin-stick shooter help
the problem i have is kinda specific so bare with me. I'm making a twin-stick tank game and its top-down, the body of the tank already moves with the left stick and it points to where you move the stick using the rocket rotator. my problem is with the gun on the top, i want to be controlled by the right analog stick but i don't know how to make it point at a separate direction as the body of the tank. the gun is a separate part of the hole tank and i tried many ways to attach it by using followers, bolts rotators, etc.. i tried a lot of things to try to get the top of the gun to rotate but it always just spins in circles, i tried using rocket roators only on 1 axis, i used moves.. could anyone please help?
-
I am not sure, I haven't tried it myself, but you might be able to use an advanced mover, set the mover speed to 0 and have it control the gun. Take in the input from the stick you want, use a splitter to get the x and y and apply them appropriately.
-
i got it, thanks heaps :) i tried the advanced mover and spliter and did a lot of testing and got it right.
댓글을 남기려면 로그인하세요.