Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Mike Johnson
TGC Developer
16
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 27th Jul 2006 16:22 Edited at: 27th Jul 2006 16:27
Being able to integrate terrain into Dark Physics is made very simple and only takes a few command calls. Here's a screenshot and code that demonstrate a collection of spheres being dropped onto a terrain:



Attachments

Login to view attachments
Hawkeye
15
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 27th Jul 2006 16:30 Edited at: 27th Jul 2006 16:30
Woah! Total physics integration with a mere three lines! That's pretty impressive


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
David iz cool
13
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 27th Jul 2006 17:08
3 lines!!

im definately getting this.
BatVink
Moderator
16
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Jul 2006 17:40
Quote: "Total physics integration with a mere three lines!"

Quote: "3 lines!!"


Bear in mind this is simply dropping spheres onto the landscape. It takes a few more lines to do something a little more constructive

having said that, you could push a sphere around without much more code. It would only take one line per direction you wanted to push it in.



JerBil
15
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 27th Jul 2006 20:25
Quote: "It would only take one line per direction you wanted to push it in."


Can you apply a force vector for direction?

-JerBil

Ad Astra Per Asper
BatVink
Moderator
16
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Jul 2006 23:21
One command allows you to apply one of 6 different types of force, at a specific point, in a specific direction.



Login to post a reply

Server time is: 2019-06-27 00:55:32
Your offset time is: 2019-06-27 00:55:32