Hi everyone
I have a little steam locomotive blueprint which travels along a spline and once it arrives destination station it is rotated by a platform to make return journey.
To make this I made two collision box, one un a platform which I need to animate and other on the front of the locomotive. When both collision box collides each other a the locomotive starts turning. To make it turn i made a simple timeline that turns my locomotive’s master mesh in less of 30s like shown in the blueprint i post. Everything seems to be ok but when i try the locomotive, it turns instantaneously. Why?
I made several text which informs me when the events works.
I made a message when collision box of platform and locomotive collides each other
One message when the animation of turning starts and another one when turn finished.
All messages but one are displayed. The missing message is when the animation is finished.
I tryed many times adding and modifying rotation, duration parameter whitout any result. Maybe preparing blueprint to make a screen I made a mistake. Now I tryed to make missing nodes and the locomotive starts turning many many times for few degrees. Now I can’t make video or screenshot. I will try tomorrow. Happy New year.
So, as you said yesterday, I undestood that issue could be that I trying to rotate a mesh whit a gerarchy.
If I change object and I put anyelse object this turns. If I put this object which has many childs, turning not works. Is there a way out?
1)Duplicate this blueprint.
2)Then place the blueprint anywhere in the level.
3)Next, in the EVENT GRAPH, take the “wheelTop1” reference and plug it into a MOVE_COMPONENT_TO node.
-Make sure that you reference the starting location of the component, otherwise it will be set to “0,0,0”.
4) Set the Z ROTATION to 90 Degrees. (Keep in mind that any rotation over 180 DEGREES will create a GIMBEL LOCK; this may be the issue you’re having, but not sure yet.)
5) Set the time to whatever you’d like. (If you keep it at .2 secs, then it’ll almost snap into the new rotation.)
When you’ve done these things, it (the NEW blueprint) should rotate.
Please post screenshots of how you did all this if it doesn’t work.
Hello, sorry for deelay. I solved by reorganizing the jerarchy of my locomotive blueprint.
I started inserting a cube and assign to it the rotation when two collision box collides each other. When I try the cube turns. So I changed the cube’s mesh with my wheeltop1 mesh and given it another name. All the other components have been linked to this new component. With the original wheeltop1 i set no mesh. Now I am trying to change spline for another path to follow. I trying to follow some tutorial but maybe I will put another post.
Thank you very much.