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 (SBGuy), 712 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 18 of 41 1 2 16 17 18 19 20 40 41
Re: Newton 2 wrapper [Re: VeT] #252003
02/15/09 22:06
02/15/09 22:06
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.. it creates wheels down( looking like in the (0,0,0))


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

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
you need to use my models, it uses bones for placing wheels. (i think you already use them but just in case.)

edit: btw, i was expirementing with code, you may delete this line
NewtonBodySetLinearDamping(car_body,0.03);


Last edited by Quadraxas; 02/15/09 22:20.

3333333333
Re: Newton 2 wrapper [Re: Quad] #252065
02/16/09 09:19
02/16/09 09:19
Joined: Feb 2009
Posts: 3
V
Vulder Offline
Guest
Vulder  Offline
Guest
V

Joined: Feb 2009
Posts: 3
I have a problem with the function:
NEWTON_API void NewtonBodySetFreezeState (const NewtonBody* body, int state);

When I use this function to freeze a body, it freezes all bodies. I think, it only should affect the body that I select. Is it a bug or am I using wrong that function?
Is there any function, like NewtonWorldFreezeBody, to remove a body from the active simulation list?

Re: Newton 2 wrapper [Re: Vulder] #252121
02/16/09 17:25
02/16/09 17:25
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
2 Vulder :
- function NewtonWorldFreezeBody is changed to NewtonBodyGetFreezeState
i dont know, why Julio make this changes, but we have what we have...
(its from changeList.txt, from original Newton)

also look through
- function NewtonBodyGetAutoFreeze is changed to NewtonBodyGetAutoSleep
- function NewtonBodySetAutoFreeze is changed to NewtonBodySetAutoSleep

in addition, maybe this could help you: http://www.newtondynamics.com/forum/viewtopic.php?f=9&t=4675

Quote:

In pre-V2 Newton you can use NewtonBodySetFreezeTreshold.


Last edited by VeT; 02/16/09 17:28.

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] #252123
02/16/09 17:36
02/16/09 17:36
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
2 Quadraxas: i mean something like this... its right after initialisation


okay, tonight i'd try to deal with this smile

btw, camera is in the floor box


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] #252144
02/16/09 19:31
02/16/09 19:31
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
can you send this version to me, i guess i can figure this out.


3333333333
Re: Newton 2 wrapper [Re: Quad] #252179
02/16/09 22:35
02/16/09 22:35
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... i send my level at your mail, hope you'd find, where is a bug

when i commented vec_sub after vec_for_bone, wheel stands where it may be.. also i tried vec_for_vertex

but connection between car and wheel don't word at all...


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] #252365
02/17/09 21:14
02/17/09 21:14
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 got the mail, il check this as soon as i can.


3333333333
Re: Newton 2 wrapper [Re: Quad] #252374
02/17/09 22:40
02/17/09 22:40
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'd be waiting your answer... now i'm going back to player's physic, sounds and simple joints 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] #252997
02/22/09 00:56
02/22/09 00:56
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 looked in to that, there seems to be some changes(from old newton to newton2) effecting the code.

(it says it crashed in ent_getmatrix_rb, which is never used. problem is not there.)

i'll rebuild the car from scratch, after getting this working, will try with new carjoint thing.


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