Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 902 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 19 of 41 1 2 17 18 19 20 21 40 41
Re: Newton 2 wrapper [Re: Quad] #253028
02/22/09 10:44
02/22/09 10:44
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
interesting... i didnt had any crashes, just got, what you see on the picture...


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: Quad] #253029
02/22/09 11:01
02/22/09 11:01
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
i get the crash, and car starts to fall down(like a convexhull), no wheels.


3333333333
Re: Newton 2 wrapper [Re: Quad] #253053
02/22/09 12:59
02/22/09 12:59
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
wtf... now and i have crash.... laugh laugh laugh
heh... okay, i'd try to fix 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] #253391
02/24/09 14:34
02/24/09 14:34
Joined: Feb 2009
Posts: 3
V
Vulder Offline
Guest
Vulder  Offline
Guest
V

Joined: Feb 2009
Posts: 3
Hello!

I'm using
NewtonMaterialSetCollisionCallback(nworld, G_Group1, G_Group2, NULL, contact, collision);
to make a callback when 2 objects collision.
Functions "contact" and "collison" are:
int contact(NewtonMaterial* Nmaterial, NewtonBody* body0, NewtonBody* body1, int threadIndex)
{
...
return 1;
}

function collision(NewtonMaterial* Nmaterial, NewtonContact* contact)
{
...
return 1;
}

When an object from G_Group1 collision with other from G_Group2, I obtain the error E1513-> Crash in vectorf.

I need to know which objects collision to remove them. Am I using right this function?

The problem is in NewtonOnAABBOverlap, because if I use

NewtonMaterialSetCollisionCallback(nworld, G_Group1, G_Group2, NULL, NULL, collision);
that error doesn't show. But I need to know which objects have collisioned, thats why I need to use the NewtonOnAABBOverlap callback.

Thanks for LiteC+Newton2

Sorry for my English wink

Last edited by Vulder; 02/24/09 14:39.
Re: Newton 2 wrapper [Re: Vulder] #253400
02/24/09 15:01
02/24/09 15:01
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
thank you for posting about this error, i'd look for it in the evening 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] #254026
02/28/09 16:15
02/28/09 16:15
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
okay... espeshially for HoopyDerFrood, kasimir i added sound, for Vulder i added collisions... just take a look:



v.18
- some minor bugs found
- map22.c added, based on map11.c, but now it highligts point of collision(with draw_point3d) and emit partivcles in normal diretcion
- map22.c updated, 3d sounds added


not too many updates for this release, but... 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] #254373
03/02/09 20:33
03/02/09 20:33
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
okay, friends, today i found (at least) some time to write a little manual about adding Newton to your project
here is manual
and here is sources


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] #254425
03/03/09 10:26
03/03/09 10:26
Joined: May 2003
Posts: 567
Spain, Canary Islands
Felixsg Offline
User
Felixsg  Offline
User

Joined: May 2003
Posts: 567
Spain, Canary Islands
Thanks, by your work and please not forgot the car physics

Re: Newton 2 wrapper [Re: Felixsg] #254462
03/03/09 15:44
03/03/09 15:44
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
I'm working on this now.

Anyway, i think you may go to Newton's official forum, as there are a lot of race-makers 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] #254467
03/03/09 16:21
03/03/09 16:21
Joined: Feb 2009
Posts: 3
V
Vulder Offline
Guest
Vulder  Offline
Guest
V

Joined: Feb 2009
Posts: 3
Thank you very much VeT smile

Page 19 of 41 1 2 17 18 19 20 21 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