I would like to move an actor from one position to another, but in an arc or rainbow using a timeline or matinee. I need different lengths and degrees. So basically actor is looking one direction, then set a angle and length to move along in an arc so actor is facing the new direction. Any thoughts?
Announcement
Collapse
No announcement yet.
Move in an arc?
Collapse
X
-
Hey, I've been planning on doing this myself but haven't explored it yet. My planned approach was to try setting the player's position with a vector length. Eg. Get vector length from player to point A, then as the player moves, say in the X Axis and/or Y axis, you might be able to adjust the z axis until the player matches the original vector length. Hope that makes sense. I don't know if that will work but its how I would attempt it.
Otherwise I'm sure there is a math formula for it.
If you or anyone else knows a better way I'd love to hear about it too.
Comment
-
You want to move an actor along a path from point A to B which is NOT a straight line correct? In order to do this you need to know the math function that most closely matches this path. Then using this function you can set the position and rotation accordingly.Last edited by JGrady1206; 11-20-2014, 03:05 AM.
Comment
-
Please keep your subject back in the Blueprint section of the forums as I feel it does not belong here. Please take a look because I replied to your thread which is located here -> https://forums.unrealengine.com/show...Move-in-an-arc
Comment
-
Would a matinee curve work? I want the actor to move say, 10 ticks forward and 10 ticks left in one bank turn arc action. But after actor gets to that position, set a different path and have a different matinee move the actor from there to different location. Similar to like a chess game where moves are made by the player at random and pawn moves along predetermined path lengths on a button press. But I need this effect in a open world scenario. Not sure how to go about this.
Comment
-
I don't have any experience with Matinee so I have no idea. I need to know more specifics about what you're trying to do. A picture or drawing would be great. Could you whip something up in paint and post it on here?
I apologize I'm about to go to bed but I will check in after I wake up. Thanks.Last edited by JGrady1206; 11-20-2014, 04:47 AM.
Comment
-
Hello,
If you use spline ( like the ones you can find in blueprint_spline map in content example), you can do something like this.
Edit : As this one works better i removed first pic. I used a mixamo character and i am not sure that it will works with another character but if you base your set up on it, it would work. If not, the idea i would try would be to use character info in a fake pawn, set character hidden / no collision / show fake pawn, do the move with camera, set character location to end point and inverse visibilities.Last edited by Fen; 11-20-2014, 07:53 AM.
Comment
Comment