Moving Platform Questions
Moving Platform Questions
In the character playground demo there is an elevator, why does it overshoot its end points?
			
			
									
						
										
						Re: Moving Platform Questions
I set it up to use a kind of curve which adds some smooth acceleration and the overshooting, for no real reason.  You can use any kind of curve (or none at all) to control objects.
			
			
									
						
										
						Re: Moving Platform Questions
Okay, what would be the best way to stop it from overshooting its endpoints?
			
			
									
						
										
						Re: Moving Platform Questions
Change the curve from a CardinalSpline3D to a LinearInterpolationCurve3D.  Note that some of the control points will be rendered redundant by this change.
			
			
									
						
										
						Re: Moving Platform Questions
I should again emphasize that these curves are just one way to handle the motion of a kinematic entity; they boil down to setting the velocity properties on the entities.  You can set velocities directly if it's more convenient.
			
			
									
						
										
						Re: Moving Platform Questions
Awesome dude. Bepu is awesome, great work.
			
			
									
						
										
						