[ODE] Pushing an object.

Mohsin Hasan mohsin.hasan at trivor.com
Mon Jan 2 23:24:59 MST 2006


Do you mean a geometry only object?

-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of Vrej
Melkonian
Sent: Tuesday, January 03, 2006 9:46 AM
To: ODE list
Subject: Re: [ODE] Pushing an object.

Happy New Year back to you!

I was thinking that you could make the object a body
only object so you can position it as you wish. ODE
won't apply gravity or any forces to it.

The hinge method is possible also. It would be as if
the object is hooked with a tether.

--- Peter Onion <Peter.Onion at btinternet.com> wrote:

> Happy New Year !
> 
> I'm having trouble with a "drag and drop" sort of
> situation.
> If you look at this picture
>
http://www.btinternet.com/~Peter.Onion/E803/Drawers.jpg
> you can see what I'm working on.
> 
> The two pink objects represent reels of paper tape. 
> When I press the
> mouse over a reel I want to be able to drag it to a
> different position,
> and while it is moving it will push other reels out
> of the way.
> 
> This mostly works, except for very small reels that
> become unstable
> while being dragged.
> 
> To move the reels I'm setting the reels linear
> velocity proportional to
> the difference between the reel's position a the
> mouse cursor's position
> (mapped onto the surface in the 3d space).
> 
> Should be using some sort of joint to control the
> reels motion ?
> Another idea I had was to create some sort of
> invisible object at the
> mouse cursor position and use that to push objects
> around using the
> normal collision detection techniques.
> 
> Peter  
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
> 



	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode





More information about the ODE mailing list