Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,241 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Newton] Access objects #48303
06/25/05 10:46
06/25/05 10:46
Joined: Feb 2005
Posts: 728
Germany, Berlin
Asse Offline OP
Developer
Asse  Offline OP
Developer

Joined: Feb 2005
Posts: 728
Germany, Berlin
I want to use Newton Game Dynamics for my dices. Now in the tutorials I only found a way to place objects with Newton but I don't know how I can interact with them.

E.g. I want to take my two dices and roll them over a board, Is this possible??

An example of how to simply change the position of a newton object would be enough!!


A6.31.4 Commercial AMD Athlon XP 2400+ Radeon 9800Pro 512MB DDR-Ram Windows XP Professional SP2 3D GameStudio Magazin
Re: [Newton] Access objects [Re: Asse] #48304
07/14/05 23:00
07/14/05 23:00
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline
Senior Member
Marcio Esper  Offline
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Hi Assue,

I am newbie to newton too, but I think you can found this informations in the NGD examples.

I think it control the movement of an entity

record[0]=my.x;
record[1]=my.y;
record[2]=my.z; // 0,1,2 = entity to be moved
record[3]=camera.x; // 3,4,5 = where to put entity
record[4]=camera.y;
record[5]=camera.z;
record[6]=7; // was 1 - This is speed...
record[7]=1000; // was 10000 - controls speed of ball record[7] = desired change of speed apply to hit body

NewtonBodyAddImpulse(NewtonGetBody(my),record);


Sorry for the terrible English

Best regards,

Marcio


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1