|
2 registered members (Martin_HH, TipmyPip),
1,279
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: academic explanation of phent_setdamping
[Re: Lecithin]
#311121
02/18/10 17:02
02/18/10 17:02
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
I think the way to simulate airdrag in the physics engine is very simple. I think the engine has one vector with the linear speed of the entity and other with the angular speed, and each frame, these vectors gets scaled to a factor depending of the linear and angular damping that you've set.
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
Re: academic explanation of phent_setdamping
[Re: Lecithin]
#311179
02/18/10 19:16
02/18/10 19:16
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
linear damping affects only to the linear movement of the entity, and angular damping affects only to the rotation speed of the entity, so you can set linear damping to 0 and angular damping to 50 the entity will move indefinitely, but if you rotate the entity it will stop. If you set linear damping to 50 and angular damping to 0, the entity will stop moving after a while, and if oyu rotate the entity, it will continue rotating indifinitely.
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
|
|
|