Piccolo
Well-known member
Hey guys,
I'm trying to create slipping effects on some platforms. The idea is that when entities are on these platforms they have an additional velocity momentum (which can either be positive/negative, increasing/descreasing, depending on the platform and where/how entity is on platform).
Right now I'm just increasing entities velocity as they stay in range of a platform script, so that platforms act as some kind of special conveyor belts.
Problem is, velocity can be nullified or overridden by some events, such as getting into idle or walk animation.
Any idea on how to avoid velocity resetting (while keeping normal controls) ?
Edit : Hum just thought about a workaround idea using bindentity. When character entity gets on slippy platform (i.e. enters range of platform's script), it gets binded to an invisible entity that moves according to platform's physics properties. Then I need to somehow modulate this standard movement by checking character animation.
I'm trying to create slipping effects on some platforms. The idea is that when entities are on these platforms they have an additional velocity momentum (which can either be positive/negative, increasing/descreasing, depending on the platform and where/how entity is on platform).
Right now I'm just increasing entities velocity as they stay in range of a platform script, so that platforms act as some kind of special conveyor belts.
Problem is, velocity can be nullified or overridden by some events, such as getting into idle or walk animation.
Any idea on how to avoid velocity resetting (while keeping normal controls) ?
Edit : Hum just thought about a workaround idea using bindentity. When character entity gets on slippy platform (i.e. enters range of platform's script), it gets binded to an invisible entity that moves according to platform's physics properties. Then I need to somehow modulate this standard movement by checking character animation.