Newton and Drag/Drop objects

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Viz_Fuerte
Posts: 91
Joined: Sun Oct 19, 2008 5:29 pm
Location: Valencia (Spain)
Contact:

Newton and Drag/Drop objects

Post by Viz_Fuerte »

Hi, I'm using Newton for physics.
I have a problem and that is that is not how to make objects "stick" to the mouse pointer.

I found these codes:

http://irrlicht.sourceforge.net/phpBB2/ ... a&start=45

http://irrlicht.sourceforge.net/phpBB2/ ... rldraycast

and get something, but I get errors during the game and does not work.

Someone might say, or better still make an example of how the role should be created?

I want to make controls as the game Penumbra.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: Newton and Drag/Drop objects

Post by rogerborg »

Viz_Fuerte wrote:Hi, I'm using Newton for physics.
Well, people will insist on doing so.

Viz_Fuerte wrote:and get something, but I get errors during the game and does not work.
Which one did you try?

What "something" do you "get".

What errors do you get?

In what way does it not work?

Viz_Fuerte wrote:I want to make controls as the game Penumbra.
Never played it, never heard of it. Can you describe your requirements, or provide a different example?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Viz_Fuerte
Posts: 91
Joined: Sun Oct 19, 2008 5:29 pm
Location: Valencia (Spain)
Contact:

Post by Viz_Fuerte »

Sorry, I explained very poorly in English xD

Rather than explain better than what you see in the first that I Link, or if not this:

http://es.youtube.com/watch?v=YaXDvR2sw ... re=related

I want to do is simple, get an object with the mouse cursor when you want and released.

However, a pass code is another thing :lol: .
zeno60
Posts: 342
Joined: Sun May 21, 2006 2:48 am
Location: NC, USA
Contact:

Post by zeno60 »

rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Ahem.

I'm sorry, but we still don't have enough information to really help you. We don't know what code you've tried, or how (or why) it's failing to do what you expect.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
cassini
Posts: 68
Joined: Thu May 12, 2005 2:40 pm

Post by cassini »

Viz_Fuerte wrote:I want to make controls as the game Penumbra.
I really liked Penumbra, I think the lead programmer explain how his controller works, over the Newton forum .
http://www.newtondynamics.com/forum/vie ... 219#p32219

Making a player controller requires lots of tweaking but I think the new Newton comes with a basic controller that is more forgiven and customizable.
One of the problems is that it is not an out of the box feature, but I’d seen programmers getting it to work very nice.
http://www.newtondynamics.com/forum/vie ... =14&t=4710
Post Reply