Game Development Community

dev|Pro Game Development Curriculum

TGEA 1.8.1 PhysX - Parts 1 & 2

by Taylor Petrick · 04/16/2009 (5:21 am) · 15 comments

I've been working with the PhysX resource and TGEA 1.8.1 for a few weeks now, along with DeepScratch and Ron Nelson. I thought I'd blog on what I/we have accomplished so far.

My initial work with PhysX was to just get things running, kill the bugs and crashes, and ensure basic functions were working. Ron and Deepscratch had done most of the porting work, and I've been using a hybrid of their two versions for my work. Here's a quick Vimeo of joints, rigids, etc:


The fun really started with buoyancy, though. :) The original buoyancy add-on I wrote was fairly simplistic, and just disabled Z axis movement when the objects landed in water. After a few rewrites by DeepScratch and myself, we completed a fairly accurate and realistic buoyancy system. The speed, angle, buoyancy factor, and water current can all be changed on a per-object basis. Objects can also be stood on while they are floating, though they will tip if the mass isn't high enough. ;) Here's another Vimeo:



#1
04/16/2009 (7:46 am)
Awesome ... love it. Just wanna jump on the crates and float down the river. :)
#2
04/16/2009 (9:53 am)
Hey Taylor, I've been keeping an eye on your progress and definitely tip the hat to you. Good Job. Are you going to post a resource of this with all the final changes and whatnot? Thx
#3
04/16/2009 (9:56 am)
@DALO:
I do plan on posting a resource, though it probably won't be for a few more weeks. I want to add more features, and try adding some additional PhysX options like fluids and cloth. I'll keep everyone up to date on progress. ;)
#4
04/16/2009 (10:11 am)
How easy do you think it would be to back port this to TGE?
#5
04/16/2009 (10:12 am)
It shouldn't be overly difficult, as the stuff that's been added doesn't really involve any rendering code.
#6
04/16/2009 (10:28 am)
oh ok thats good.. This would be very neat to play around with.. Seems like now things are looking perfect in the torque world :)
#7
04/16/2009 (12:44 pm)
Very nice!
#8
04/16/2009 (3:02 pm)
Nice work! :)
#9
04/16/2009 (6:37 pm)
Very Nice! and very interesting. I can't wait to see the following.
#10
04/16/2009 (11:28 pm)
Very good stuff ! Congratulation !!

Is it cross-platform : Windows and Mac ?

Nicolas Buquet
www.buquet-net.com/cv/
#11
04/16/2009 (11:32 pm)
I don't use Mac, so I haven't been able to test it on a Mac. I don't think PhysX itself is crossplatform, though I may be wrong.
#12
04/17/2009 (3:44 pm)
very cool, i will buy TGA soon...
#13
04/20/2009 (11:22 am)
Taylor
Very cool, I have been trying to make a ball float. I'm looking forward to see the code
#14
04/24/2009 (6:11 pm)
This stuff is very interesting stuff, though isnt T3D planning to have official implementation of physx?
#15
04/24/2009 (8:38 pm)
Not everyone is upgrading to T3D right away. ;)