[ODE] Pick up objects
David Sveningsson
david.sveningsson at telia.com
Fri May 5 02:40:44 MST 2006
I've been experimenting with picking up objects for a couple of days now
but I still cannot get it to work. I've created a test enviroment based
on drawstuff. The source is at http://sidvind.com/~ext/pickup.tar.gz
Could anyone take a look at the source and see whats wrong with my it?
The objects is restricted to move at X-axis only, controll the "player"
with WASD, move the arm with QE and pickup with R. When I've picked up
something and tries to move it explodes.
*//David Sveningsson [eXt]*
______________________________________
Freelance Coder | Game Developer Student
[ http://sidvind.com ] [ http://nitroxy.com ]
Wesley Smith wrote:
> I believe you cn use an Amotor in combo with a ball joint to restrict angle.
>
> wes
>
> On 4/26/06, David Sveningsson <david.sveningsson at telia.com> wrote:
>
>> That fixed so the objects doesn't explode, but I still can't update the
>> anchor of the joint. Or at least it doesn't move to it. Do I have to apply a
>> force to have the object move up after moving the anchor up?
>>
>> Which type of joint is the best for this? I tried 'ball and socket' joint
>> and that worked quite good except it doesn't maintain the angle (which it
>> probably shouldn't). With the slider joint I can't get a fixed distance.
>>
>>
>>
>>
>>
>>
>>
>>
>> //David Sveningsson [eXt]
>> ______________________________________
>> Freelance Coder | Game Developer Student
>> [ http://sidvind.com ] [ http://nitroxy.com ]
>>
>>
>> Russel wrote:
>> Are you still colliding the object with the arm? If a contact joint
>> is created in addition to your joint, bad things will happen.
>>
>> On Apr 26, 2006, at 7:55 AM, irrisor at dev.java.net wrote:
>>
>>
>>
>> A fixed joint worked fine for me in that case. What joint did you use?
>>
>> David Sveningsson wrote:
>>
>>
>>
>> Hi, I want to have a body to pick another body I can find if
>> there is
>> any body to pick up but I don't know how to attach it. I try to
>> create a
>> joint between them which works for a while, but when I want to rotate
>> the arm holding the body both bodies explode. How is the best way
>> to do
>> this?
>>
>> _______________________________________________
>> ODE mailing list
>> ODE at q12.org
>> http://q12.org/mailman/listinfo/ode
>>
>> _______________________________________________
>> ODE mailing list
>> ODE at q12.org
>> http://q12.org/mailman/listinfo/ode
>>
>>
>>
>> _______________________________________________
>> ODE mailing list
>> ODE at q12.org
>> http://q12.org/mailman/listinfo/ode
>>
>>
>>
>>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060505/049695e0/attachment.htm
More information about the ODE
mailing list