I try to explain here what is the problem while my project is uploading in mediafire.
I got my main Character that can be play. You can control it like all playable character.
When you press a key, it replace the character by this cube.
This cube work like a vehicle that you take the control.
So I need a different gameplay with this cube than the Character.
I want it to be control like a Mech in an anime serie !
I put force that can be editable with variable for : going forward and back (it feel like using reactor), going up and down (like jet pack), you can strafe like you put the reactor force on a side and with your mouse you can look right and left.
The problem is when I use the mouse Y axis for looking up and down…
I think I have to tell in the blue print : “hey, my cube moved ! so take the new coordinates and see that the Y axis changed !”
But I did some tutorials and think a lot about it and I can’t find the good thing for that.
I think you’re right when you told me : “for rotations (per single rotation axis)
get actor world rotation, break it into yaw, roll , pitch, add input axis value to one of yaw, roll, pitch. make rotator again with 2 values copied over and 3rd that has added input axis, last is set actor world rotation.”
But I don’t know how… When I try it put me some items with blueprint that I can’t log into the good things. That’s make me Crazy !O/*%$ O_O !?& !
I don’t know why I did it for the Z (look right and left) and it don’t work for Y (look up and down)
Here you can see the blueprint for the forward movement :
http://www.hostingpics.net/viewer.php?id=709604Forward.jpg
I add Force to the cube (call mesh mech in the component panel)
Then you can see the variable : Reactor Power
With this variable I can edit the Reactor Power. So you can go faster or lower when you go forward and back.
Here the one for Strafe :
http://www.hostingpics.net/viewer.php?id=903068Strafe.jpg
I add force to get the movement to the side, like you dodge.
Here the one for up and down (jetpack-like) :
http://www.hostingpics.net/viewer.php?id=897240Jetpack.jpg
I just add force to the up vector from the cube, then you can go up and down but you can aim down and going forward like if you control an helicopter
Here the one to turn right and left with the mouse movement :
http://www.hostingpics.net/viewer.php?id=393520Turn.jpg
The TurnRate variable is use to change the speed when you turn. Like you use an joystick (hotas)
And finaly, the look up that make me crazy !!! :
http://www.hostingpics.net/viewer.php?id=121141Look.jpg
I can’t find the way to tell to my cube that the Y axis change. So it making my cube rolling in all the directions. It’s logic but I don’t know how to fix that.
When I start the preview, my camera look in the origin of the axis X,Y,Z. So If I look to the positive coordinate it’s ok. My cube look up and down when my mouse go up and down.
But, if I turn and look forward to the negative coordinates, my mouse invert the control… And when I look on the Y axis or side it makes me rolling…