how to make the terrain object work with physics?

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

how to make the terrain object work with physics? // New Users

1  |  

Post by jhowell // Apr 10, 2008, 4:51am

jhowell
Total Posts: 400
pic
I love the terrain scripting object. So many ways to make this in to awesome terrains, mountains, valleys etc etc. HOWEVER, I really want to set physics on it so my objects can intereract with it. But adding physics to the terrain causes it to go crazy. Anybody have any luck with this? Thanks



p.s... free truespace tutorials


http://forums1.caligari.com/truespace/showthread.php?t=5272

http://forums1.caligari.com/truespace/showthread.php?t=5259

http://forums1.caligari.com/truespace/showthread.php?t=5241

Post by hultek43 // Apr 10, 2008, 6:30am

hultek43
Total Posts: 234
Still on TS 6.6 so I have no answer to give you. You may or may not have found this thread already >> http://forums1.caligari.com/trueSpace/showthread.php?t=634

Post by Burnart // Apr 10, 2008, 3:01pm

Burnart
Total Posts: 839
pic
I may not be clear about what you are doing. Are you trying to do something like bounce a ball on the landscape and watch it roll down hill - that kind of thing?

I'm not in a position to try at the moment so I can't be sure. Is the landform object history the culprit? Can you collapse the landform object to a simple mesh? Then it should just become a solid on which objects would deflect in normal collision detection mode.

edit: It occurs to me that there might be an issue with thickness - a landscape is a distorted plane - its polygon thickness is zero..... program physics might regard it as digital tissue paper and just pass right through. I'm pretty sure this was in issue with some software I've used but I'm not sure if it applies to ts7.5 workspace.

Post by jhowell // Apr 10, 2008, 9:20pm

jhowell
Total Posts: 400
pic
Thanks for your tip Burnart. I tried the flatten history, plus a bunch of other things. Stills goes wacky then locks up my computer. too bad. Be neat to have objects and characters bounce on and off the terrain. hmmmmmmmm

Post by spacekdet // Apr 11, 2008, 6:33am

spacekdet
Total Posts: 1360
pic
Just a thought, but can you heavily subdivide the top face of a large cube, and create the terrain on that using displacement brushes, etc? Starting with a solid might force physics hand, so to speak.

Post by jhowell // Apr 11, 2008, 6:37pm

jhowell
Total Posts: 400
pic
Thank you for your suggestion spacekdet. That is a good idea. I think it should work. I will let you know. :banana:

Post by Jack Edwards // Apr 11, 2008, 11:39pm

Jack Edwards
Total Posts: 4062
pic
Another idea would be to extract the mesh via the flatten history command.

Post by jhowell // Apr 12, 2008, 5:48am

jhowell
Total Posts: 400
pic
Hi Jack, I did try the FLATTEN HISTORY on the terrain object. That did not work. All still goes wacky and locks up computer when you try to add physics to the terrain object and drop a sphere with physics on it. hmmmmmmmmm



Another idea would be to extract the mesh via the flatten history command.

Post by kena // Apr 12, 2008, 6:00am

kena
Total Posts: 2321
pic
Have you tried not adding physics to the terrain? the objects with physics will... when using physics, bounce off of and roll on top of objects with no physics.

Post by jhowell // Apr 12, 2008, 11:12am

jhowell
Total Posts: 400
pic
Thank you so much Kena! I feel so stupid. I did not try interacting my objects with the terrain object WITHOUT PHYSICS to the terrain object first BECAUSE in my SOFTIMAGE XSI training I always had to have applied physics to ALL objects first. Wow, I just bounced a ball on terrain object without applying physics to the object first. Works perfect. So simple! Another example of how Truespace makes life so easy!:banana:


Here is youtube video of this quick test or download wmv movie below.

http://www.youtube.com/watch?v=9pXx3xh29zM


p.s... additional free truespace tutorials


REAL TIME BUMPMAPShttp://forums1.caligari.com/truespace/showthread.php?t=5272

CAMERA TRACKING MATCHMOVING SYNTHEYES TUTORIAL

http://forums1.caligari.com/truespace/showthread.php?t=5259

5 FREE CHARACTERS FOR TRUESPACE 7.0/7.5

http://forums1.caligari.com/truespace/showthread.php?t=5241

ANIMATING OPACITY IN WORKSPACE

http://forums1.caligari.com/truespace/showthread.php?t=5286

APPLYING PHYSICS CONSTRAINTS TO CHARACTERS

http://forums1.caligari.com/truespace/showthread.php?t=5293

Post by kena // Apr 13, 2008, 6:53am

kena
Total Posts: 2321
pic
glad I could help... I discovered that you don't need to add physics to everything in TS simply by accident. I just figured that if my marble would interact with the ground plane in TS, that it would work with other objects. Turned out to be right. so I remembered this thread and felt it only nice to share :D
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn