Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: CreateStaticTerrainBody and SetTerrainHole  (Read 901 times)
bbence
Customers
Community Member
*****
Posts: 944


WWW
« on: August 29, 2010, 04:30:29 PM »

The physics engine doesn't consider the terrain holes unfortunately.
I call CreateStaticTerrainBody but the holes are still collided as far as the physics engine goes, even with TV_HOLE_QUAD_INVISIBLE_NO_COLLISION specified.

Any ideas, suggestions?

Thanks!
Bence
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #1 on: September 17, 2010, 05:48:21 AM »

Indeed for now it works only for the engine internal collision (TVScene.AdvancedCollision etc..)
I will see if it's possible to give the info to Newton engine too. It's not really hard I think since it uses UserCollision system.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
bbence
Customers
Community Member
*****
Posts: 944


WWW
« Reply #2 on: September 17, 2010, 12:14:05 PM »

Indeed for now it works only for the engine internal collision (TVScene.AdvancedCollision etc..)
I will see if it's possible to give the info to Newton engine too. It's not really hard I think since it uses UserCollision system.

Thanks!
In the meanwhile I solved this by creating invisible areas which switches the newton collision interaction on and off when the player passes (it's doable since it needs to be done when I enter a building).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks