09-24-2013, 09:27 PM (This post was last modified: 09-24-2013, 09:28 PM by valyard.)
Good day! Sorry for repost from playmaker forum..
The character move on the spline created with a Curvy.
Requires: ability strafe player model to the left or right without interrupting moving on the spline (rail). What method can be done using actions PM (and Curvy?)?
Thank you for your attention.
Scene based on Rails.unity
As center I have Curvy Spline. Else Curvy SplineLeft (left side) and Curvy SplineRight (right side)
and some actions...
a player does not move to left or right.. maybe doing something wrong(
So, how may I change curve line where placed Player controller in realtime? Maybe not with Curvy asset.. it so interesting task) Yesterday was test with Add Force, Translate, Transform - and got lags)))
Because Runner on plane or shape not beautiful.. Road based on splines looks so great!)
Sry for my bad English..
I've already posted an answer on the playmaker forum before reading this
First you should consider using the "Curvy Move Along Spline" action, it's more versatile and offers more options. Though "Align to Spline" works as well, it's more suited for static placement.
If I understand you right you want to offset the object to the left or right from it's position on the spline. So after you positioned the object just use the Translate action to shift it along it's own x-axis (Space=Self). This should do the trick.
I've already posted an answer on the playmaker forum before reading this
First you should consider using the "Curvy Move Along Spline" action, it's more versatile and offers more options. Though "Align to Spline" works as well, it's more suited for static placement.
If I understand you right you want to offset the object to the left or right from it's position on the spline. So after you positioned the object just use the Translate action to shift it along it's own x-axis (Space=Self). This should do the trick.
Does this help?
Jake
Yes, very successfully solution!!!! It working!
p.s. i want using control character without your script... In Playmaker.. left-right realized.. but jump work in process..
I've already posted an answer on the playmaker forum before reading this
First you should consider using the "Curvy Move Along Spline" action, it's more versatile and offers more options. Though "Align to Spline" works as well, it's more suited for static placement.
If I understand you right you want to offset the object to the left or right from it's position on the spline. So after you positioned the object just use the Translate action to shift it along it's own x-axis (Space=Self). This should do the trick.
Does this help?
Jake
Yes, very successfully solution!!!! It working!
p.s. i want using control character without your script... In Playmaker.. left-right realized.. but jump work in process..
If you let the "MoveAlongSpline" action set your rotation, translate the local(self) y-axis to jump!
09-30-2013, 12:22 PM (This post was last modified: 09-30-2013, 12:27 PM by valyard.)
(09-27-2013, 09:22 AM)Jake Wrote:
(09-27-2013, 05:29 AM)dxpsite Wrote:
(09-25-2013, 10:59 AM)Jake Wrote: Hi,
I've already posted an answer on the playmaker forum before reading this
First you should consider using the "Curvy Move Along Spline" action, it's more versatile and offers more options. Though "Align to Spline" works as well, it's more suited for static placement.
If I understand you right you want to offset the object to the left or right from it's position on the spline. So after you positioned the object just use the Translate action to shift it along it's own x-axis (Space=Self). This should do the trick.
Does this help?
Jake
Yes, very successfully solution!!!! It working!
p.s. i want using control character without your script... In Playmaker.. left-right realized.. but jump work in process..
If you let the "MoveAlongSpline" action set your rotation, translate the local(self) y-axis to jump!
sorry, but rotate or set Y position unavailable in Curvy Move Along Spline..
I Made jump from example.. trouble: camera follow to left, to right and jump without smooth motions