[ODE] Best way to achieve this effect

Jon Watte (ODE) hplus-ode at mindcontrol.org
Sun Oct 28 11:14:59 MST 2007


What I suggested was using a motor as a spring. If you slant the hinge 
that connects the trucks to the deck correctly, the turning action will 
just fall out of the simulation.



Salik Syed wrote:
> Hi,
> Yes I'm aware that constraints can be set to have a springiness to them 
> using the ERP (?CFM) parameters.
> 
> I did read your entire message, and the method you outlined is not what 
> I'm looking for, I don't want the
> skateboards trucks to turn simply by a motor or outside force, because 
> this is not how a real skateboard
> works. I want to be able to place a body on the deck and when I shift 
> that body the deck should
> tilt causing the trucks to turn.In order to do this some kind of joint 
> is necessary between the deck and
> the truck in order to cause the deck tilt motion to cause the truck turn 
> motion.
>  But i'm not sure what that should be.
> I also thought perhaps a single "link" body with a ball joint connecting 
> to the truck and another
> ball joint connected to the deck??? I don't know if this would work 
> correctly because I would still need
> to make the hinge joint stiff (so that the truck needs alot of force in 
> order to actually rotate)  and I'm not
> sure how to do this
> -Salik
> 
> I think people may not understand exactly how the skateboard works?
> 
> Jon Watte (ODE) wrote:
>>
>> Salik Syed wrote:
>>
>>> What I would like is that the trucks are very hard to spin and only 
>>> turn when
>>> a significant force is applied on one  side of the duck to make them 
>>> turn.
>>> What is the best way to achieve this effect?  Sort of like a spring 
>>> that stretches every time the
>>> deck tilts or the trucks turn, so that a signifcant force is 
>>> necessary for either to happen.
>>
>> Did you search for "spring" in the documentation?
>> If so, what don't you understand about the various explanations?
>> What else have you already tried, so we don't have to worry about 
>> things that didn't work for you?
>> And did you read the ENTIRE message I sent you on this subject 
>> previously?
>> Hint: It actually answers this question, too.
>>
>> Cheers,
>>
>>             / h+
> 
> 


More information about the ODE mailing list