Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 3 1 2 3
Re: Newton hinges example [Re: msl_manni] #147225
08/13/07 06:55
08/13/07 06:55
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I'd like to see if the vehicle physics were improved...

if so, then I might need to switch to lite-c very quickly


xXxGuitar511
- Programmer
Re: Newton hinges example [Re: msl_manni] #147226
08/13/07 09:30
08/13/07 09:30
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
version 2 is out!
download it here

New features:
more stable collision (no boxes flying through walls)
objects pickup (like in HL2)
latest newton dll (1.53)

more to come...

Re: Newton hinges example [Re: Shadow969] #147227
08/13/07 11:51
08/13/07 11:51
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline
User
sheefo  Offline
User

Joined: Jul 2006
Posts: 783
London, UK
Nice work!

I have implemented Newton materials, I'll PM you with it an perhaps you can improve it and add it to this.

Oh, and thanks

Re: Newton hinges example [Re: sheefo] #147228
08/13/07 12:03
08/13/07 12:03
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
thank you too!

Re: Newton hinges example [Re: Shadow969] #147229
08/14/07 06:40
08/14/07 06:40
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline
Senior Member
msl_manni  Offline
Senior Member
M

Joined: Dec 2005
Posts: 478
India
Very Nice Contribution .
I would like to know, how you sorted out the bug, because when I copied the newton.dll to your hinges example, it is there. It should be more than the dll thing .


My Specialities Limited.
Re: Newton hinges example [Re: msl_manni] #147230
08/14/07 10:05
08/14/07 10:05
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
that was easy, i just turned on the continious collision for crates

Re: Newton hinges example [Re: Shadow969] #147231
08/14/07 18:14
08/14/07 18:14
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
question.....

NewtonUpdate(time);

...Am I correct to assume that you'd want to pass the amount of time that has passed to Newton? So it knows how to correctly update movement?

Assuming I am correct, then would time_step/frame be incorrec? time_step/frame are multipliers for scaling movement in ticks (1/16th second).

So when you use:
newtonUpdate(time_frame/16);
You wouldn't be updating correctly...

It would in fact be:
newtonUpdate(16/time_frame);


I fixed this in the A6 version and physics seem more realistic, but maybe it's just me and I'm completely wrong


xXxGuitar511
- Programmer
Re: Newton hinges example [Re: xXxGuitar511] #147232
08/14/07 18:39
08/14/07 18:39
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
Well I'm not sure what is correct, but i'll see what's the difference

Re: Newton hinges example [Re: Shadow969] #147233
08/14/07 19:12
08/14/07 19:12
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
newton needs the time in seconds so you have to convert ticks to seconds. this gets done by diving by 16. for example 4 ticks -> 4 / 16 = 0.25 seconds.

i think the most common cause for simulations which somehow seem to look unrealistic is wrong scale. you have to keep in mind that we aren't used to look at collapsing stacks of crates which are more than a meter in diameter. we are used to toy bricks. this doesn't look the same.

Re: Newton hinges example [Re: ventilator] #147234
08/14/07 19:28
08/14/07 19:28
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
DELETED

Damnit... you were right. For some reason I was thinking time_step was "inversed" (can't think of the right word)... 1/time_passed ... whatever

Anyways... sorry for my ignorance. I'll shutup now

Last edited by xXxGuitar511; 08/14/07 19:35.

xXxGuitar511
- Programmer
Page 2 of 3 1 2 3

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

Gamestudio download | 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