Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 16 of 41 1 2 14 15 16 17 18 40 41
Re: Newton 2 wrapper [Re: ] #244716
01/06/09 12:38
01/06/09 12:38
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
thats because of unfinished power_mouse.
In 3d space coordinates of pointer defines by tracing from camera behind to next obstacle(to the wall).
So if you grap one piece, you move it to the wall, wich is far from rope... i'd work on it


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Newton 2 wrapper [Re: VeT] #244717
01/06/09 12:45
01/06/09 12:45

F
Fear411
Unregistered
Fear411
Unregistered
F



ok cool thank you

Re: Newton 2 wrapper [Re: ] #244792
01/06/09 19:45
01/06/09 19:45
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
thx vet the old problems are gone and it looks like this version is much smoother (maby because i edited the files else it didnt work)

great work


"empty"
Re: Newton 2 wrapper [Re: flits] #244997
01/07/09 21:48
01/07/09 21:48
Joined: Sep 2007
Posts: 48
Deutschland
H
HoopyDerFrood Offline
Newbie
HoopyDerFrood  Offline
Newbie
H

Joined: Sep 2007
Posts: 48
Deutschland
Hi,
first of all, realy great contibution.

But on my computer the demo-programm always throws out "Error E2512 Empty prototype called in Event". I can click it anway an the progamm runs without restrictions. I figured out that this is due to the "NewtonBodySetAutoFreeze (body_temp, 0);" command. Its in the Power-Mouse code and in the "newton_addentity" function. When I comment this lines out everything works fine without errors. So why is it necessary?

I know that I needet and used it in the old wrapper from thomas oppel. Now it throws errors but also it seems to be unnecessary.

My actual question is how I can implement sounds with this wrapper. My code I used with die old wrapper dont work anymore. Has anyone implemented sound, yet? I just want my cans chatter when thy hit each other or fall on the ground.

Re: Newton 2 wrapper [Re: HoopyDerFrood] #245212
01/08/09 21:27
01/08/09 21:27
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
2flits
thanks for comments smile


2HoopyDerFrood

those errors are appeared beacuse in 2.17 version Julio made changes
Code:
- function NewtonBodyGetAutoFreeze is changed to NewtonBodyGetAutoSleep
- function NewtonBodySetAutoFreeze is changed to NewtonBodySetAutoSleep

i dont know why he do this, but i think there is a reason why smile

in last version of wrapper this bug is fixed(i used new function)

sound is played in material's properties(why 2 materials collides, in 1.53 it was like that)
i'd add sound effects in nearest updates wink


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Newton 2 wrapper [Re: VeT] #248877
01/29/09 19:34
01/29/09 19:34
Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
kasimir Offline
Senior Member
kasimir  Offline
Senior Member

Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
ohhh, i hope you will include sounds soon!

i've heard about a function called "CustomPickBodyJoint" - is it possible to include this in next update?!

Thx for your Newton 2- script - very usefull laugh

Re: Newton 2 wrapper [Re: kasimir] #249697
02/03/09 18:42
02/03/09 18:42
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
yes, i'd try to add sounds next time wink
i'm starting to add joints to wrapper, now i'm working on player's controls, "CustomPickBodyJoint" is not far from it, i think smile

i'm glad that you like my work smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Newton 2 wrapper [Re: VeT] #250219
02/06/09 17:13
02/06/09 17:13
Joined: May 2003
Posts: 567
Spain, Canary Islands
Felixsg Offline
User
Felixsg  Offline
User

Joined: May 2003
Posts: 567
Spain, Canary Islands
Is in the way car physics?
thanks and great work

Re: Newton 2 wrapper [Re: Felixsg] #250337
02/07/09 13:17
02/07/09 13:17
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
i tried a car with newton vehicle joint(not the custom multipartcar thingy.),

with both newton 1.53(ventilators wrapper) and newton 2 open beta(with Vet's wrapper), both working but has a problem(both has same problem):

tried with diffrent mass/size/hulltypes, but when i release car from a hill like this:


car goes down with CONSTANT speed, where it should get faster(because it goes down from a hill laugh )

i can only suspect this line, but i am not sure how to solve it:
Code:
void onforceandtorque(NewtonBody* body)
{
	float mass, ixx, iyy, izz;
	NewtonBodyGetMassMatrix(body, &mass, &ixx, &iyy, &izz);
	NewtonBodySetForce(body, vectorf(0, 0, -9.8 * mass));
}


this is the forceandtorquecallback of the car body.

any suggestions?


3333333333
Re: Newton 2 wrapper [Re: Quad] #250503
02/08/09 11:29
02/08/09 11:29
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
hm... what is the mass of car body and car wheels?


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Page 16 of 41 1 2 14 15 16 17 18 40 41

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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