Main

Forums

Wiki

Downloads

Tutorials

Walkthrough

Unreal-netiquette

Links

Submit-News

Oldunreal's hosted:
UnrealReference

Usermaps

Real-CTF

Donate for Oldunreal:

Oldunreal Donation
Oldunreallogo
  Welcome, Guest. Please Login or Register
 
  HomeHelpSearchLoginRegister  
 
 
Pages: 1 2 3 
Unreal NVidia PhysX support (Read 3564 times)
.:..:
Developer Team
Offline



Posts: 946
Finland
Gender: male
Unreal NVidia PhysX support
02/13/10 at 15:51:38
 
As sequel to the UT project (http://www.unrealsp.org/forums/viewtopic.php?t=893) I started on, I continued the development on 227g.

What it basically is; NVidia PhysX physics engine that works on Unreal 1.

As far as I have written now, it supports simple physics objects like boxes/spheres or even more complex shapes. Also some constraints and joints.

Also I fixed the BSP geometry collision holes the UT version had, and movers have proper collision with the physics objects now.

Futher plans include soft bodies, vehicles and possibly ragdolls.

UT video that Shivaxi recorded: http://www.youtube.com/watch?v=CpM8_NG7JvQ

Download beta version for 227g_20: http://www.klankaos.com/downloads/UPhysX.rar (Last update: 17.2.2010)
Latest NVidia PhysX drivers are also needed: http://www.nvidia.com/object/physx_9.09.1112.html
And if anyone is interested in helping me out with adding features or bug-fixes, download source code from here: http://www.klankaos.com/downloads/UPhysXSrc.rar (Last update: 16.2.2010)
Back to top
« Last Edit: 02/17/10 at 20:21:19 by .:..: »  
.:..: 345236034 mhulden  
IP Logged
 
zerok
Ex Member


Re: Unreal NVidia PhysX support
Reply #1 - 02/13/10 at 17:13:48
 
ex member
Back to top
« Last Edit: 08/07/10 at 16:42:44 by N/A »  
 
IP Logged
 
.:..:
Developer Team
Offline



Posts: 946
Finland
Gender: male
Re: Unreal NVidia PhysX support
Reply #2 - 02/13/10 at 17:37:07
 
Quote:
How does PhysX compare to other solutions such as ODE and Havok? I mean, is PhysX the only free and feasible solution?

Well.. PhysX is used on Unreal Engine 3 and ODE was kinda too hard to implement for Unreal Engine and Havoc is all closed source.
So I figured PhysX is most supported and easiest way to go.
Back to top
 
.:..: 345236034 mhulden  
IP Logged
 
PRIMEVAL
God Member
*****
Offline


Darkness Eternal

Posts: 846
The Necropolis
Gender: male
Re: Unreal NVidia PhysX support
Reply #3 - 02/13/10 at 18:56:09
 
That looks pretty cool!

And was the player a Cow??? I keep hearing a Moo when he blows himself up lol
Back to top
 

...
WWW WWW jswx06  
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 3525
Vilnius, Lithuania
Gender: male
Re: Unreal NVidia PhysX support
Reply #4 - 02/13/10 at 19:28:41
 
Does that mean that U1 will eventually have the "rubber" ragdolls that UT3 has? Tongue
Back to top
 
WWW WWW  
IP Logged
 
Gizzy
Senior Member
****
Offline


Who is she?

Posts: 269
Britain
Gender: male
Re: Unreal NVidia PhysX support
Reply #5 - 02/13/10 at 21:19:55
 
Goodbye death animations...haha
Back to top
 
WWW WWW Gizzy Danmaddo  
IP Logged
 
KillerSkaarj
God Member
*****
Offline


Self-proclaimed Flak Monkey

Posts: 841
in ur church steelin ur flak
Gender: male
Re: Unreal NVidia PhysX support
Reply #6 - 02/14/10 at 03:15:22
 
GreatEmerald wrote on 02/13/10 at 19:28:41:
Does that mean that U1 will eventually have the "rubber" ragdolls that UT3 has? Tongue

It's better than killing someone with just enough force to knock their corpse away (instead of gibbing them) and watching it fly like a stiff board.
Back to top
 

The video game industry is the only industry in the world where going from digital to analog is considered an upgrade. (D-pad to Analog Stick)
 
IP Logged
 
[]KAOS[]Casey
Global Moderator
Developer Team
******
Offline


Pawnching out the bugs

Posts: 2360
California
Gender: male
Re: Unreal NVidia PhysX support
Reply #7 - 02/14/10 at 04:33:10
 
Quote:
How does PhysX compare to other solutions such as ODE and bullet? I mean, is PhysX the only free and feasible solution?

(forget havok, already read the unrealsp thread)

Bullet is missing a few key important features, otherwise we likely would have static mesh support in unreal

I've never heard of ODE, I'll go check it out.
Back to top
 

Life is like coop, but, friendly fire is on. - me
WWW WWW []KAOS[]Casey 380468265 link096692  
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 3525
Vilnius, Lithuania
Gender: male
Re: Unreal NVidia PhysX support
Reply #8 - 02/14/10 at 08:55:01
 
KillerSkaarj wrote on 02/14/10 at 03:15:22:
It's better than killing someone with just enough force to knock their corpse away (instead of gibbing them) and watching it fly like a stiff board.

...
Back to top
 
WWW WWW  
IP Logged
 
zerok
Ex Member


Re: Unreal NVidia PhysX support
Reply #9 - 02/14/10 at 15:20:17
 
ex member
Back to top
« Last Edit: 08/07/10 at 16:43:10 by N/A »  
 
IP Logged
 
.:..:
Developer Team
Offline



Posts: 946
Finland
Gender: male
Re: Unreal NVidia PhysX support
Reply #10 - 02/14/10 at 17:00:30
 
Updated:
  • Added Editor preview feature (select any physics actor in map, change their flag 'bEditorSimulate' to true and enable real-time preview).
  • Added UScript notifies for impacts and when joints break.
  • Made Buoyancy control how well the physics object floats on water.

Also added a beta download link for 227g_20 (227g beta testers).
Back to top
 
.:..: 345236034 mhulden  
IP Logged
 
creavion
The Beta Test Plague
*
Offline


Waiting for the final
release (Bankai)!

Posts: 165
SmirtFISH Fanboy
Gender: male
Re: Unreal NVidia PhysX support
Reply #11 - 02/14/10 at 20:16:14
 
Great stuff, very impressive. Is this stuff already ready to use or should a mapper wait with it for an other version?
What about destroyable walls as Brushmover? (like CTF-Lighthouse_PhysX)
Back to top
« Last Edit: 02/14/10 at 20:21:39 by creavion »  

UT99.org Community Mappack 2:&&http://www.ut99.org/utr/infopage.html
 
IP Logged
 
Gizzy
Senior Member
****
Offline


Who is she?

Posts: 269
Britain
Gender: male
Re: Unreal NVidia PhysX support
Reply #12 - 02/14/10 at 23:22:30
 
Wow, pretty amazing stuff once again dots Smiley

I messed around a bit and noticed a couple of things:

- I dropped a box (MultiComponentPhysActor) down a hill into some water. Once it dropped to the bottom, I took a shot, and the box bounced up a little bit for some reason...

- Flying boxes can kill  Cheesy

Back to top
« Last Edit: 02/15/10 at 00:07:56 by Gizzy »  
WWW WWW Gizzy Danmaddo  
IP Logged
 
Shivaxi
Oldunreal MasterPoster
The One Who Wanted To Have A Special Title In Forum
******
Offline


Loving Pie

Posts: 2013
BEHIND U!!!
Gender: male
Re: Unreal NVidia PhysX support
Reply #13 - 02/15/10 at 01:35:35
 
holyshet....the master does it again! Cheesy Grin

Bloody good work mate....this is truly the most amazing thing I've seen for Unreal.  Works absolutely flawlessly.  I can't wait to see rag dolls and vehicles in the future...I would definitely run a server featuring this.  Speaking of....is this replicated at all?  Does it work online?  Me and Gizzy are about to test Tongue

And I recorded another video if anyone's interested:

Back to top
« Last Edit: 02/15/10 at 01:36:16 by Shivaxi »  

...  ...
WWW WWW Shivaxi 350876527 Shivaxi13 Shivaxi  
IP Logged
 
Jet v4.3.5
Full Member
***
Offline


Flesh is a design flaw.

Posts: 114
Gender: male
Re: Unreal NVidia PhysX support
Reply #14 - 02/15/10 at 02:49:05
 
In the older UT version I placed some convex physics actors with the UT armor mesh and had some fun with my own custom shelves. Very fun and Half-Life-esque in terms of physics when implemented that way. The only thing that bothers me is that if you have a mesh with different animations, you can't set this current system to use anything except for the default animations, but that would only be a major problem if you had something like a Skaarj statue or something that needed physics for some reason. Like in the UDK, it would be useful to have a physics gun available for in-game testing, so we can also pick up the objects and prod them around, or maybe just a physics control system so scripters can code particular actors that effect the objects in given ways, like the hammer tool in The Ball, or whatever is most intended for the developer and for any projects wishing to utilize these assets. Also, the ability to apply physics to pickups, players, corpses, and scripted pawns would be exceptionally useful for those who wish to add a bit of non-conflicting realism, if they're willing to exclude those who don't have systems built for dealing with the PhysX enhancements.
Back to top
 

...
WWW WWW  
IP Logged
 
Matrix224
God Member
*****
Offline


*UaS* Website- http://www.freewebs.
com/uas_unreal/

Posts: 593
New York
Gender: male
Re: Unreal NVidia PhysX support
Reply #15 - 02/15/10 at 04:40:35
 
I now love you o.o.

This shall make Unreal  even more epic! Great job!
Back to top
 

...
WWW WWW Matrix224 100000730044789 UaS+Matrix  
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
******
Offline


The Great Emerald

Posts: 3525
Vilnius, Lithuania
Gender: male
Re: Unreal NVidia PhysX support
Reply #16 - 02/15/10 at 08:04:15
 
Thinking about pickup physics... That reminds me of Unreal II Singularity Cannon, it's black holes attract particles and pickups. I wonder if something like that could be done here?..

Bouncing box: Eek, it's alive!!
Back to top
 
WWW WWW  
IP Logged
 
.:..:
Developer Team
Offline



Posts: 946
Finland
Gender: male
Re: Unreal NVidia PhysX support
Reply #17 - 02/15/10 at 19:24:50
 
Update:
  • Added 3D collision for the physics objects.
  • Made the objects less player crushing.

Download link is in the first post.
Back to top
 
.:..: 345236034 mhulden  
IP Logged
 
Matrix224
God Member
*****
Offline


*UaS* Website- http://www.freewebs.
com/uas_unreal/

Posts: 593
New York
Gender: male
Re: Unreal NVidia PhysX support
Reply #18 - 02/15/10 at 20:16:53
 
There was some weird thing I encountered with the tables and boxes- when I stack them, they tend to like..slide off....its weird. I have a video that youtube is taking forever to process (and its only 17 seconds...GJ youtube), and it shows the glitch two times. For now, imagine it like this:

[]
[]
[]

then

[]
[]
  []

then

[]
[]
   []

then they fall off.
Back to top
« Last Edit: 02/15/10 at 20:17:25 by Matrix224 »  

...
WWW WWW Matrix224 100000730044789 UaS+Matrix  
IP Logged
 
Jet v4.3.5
Full Member
***
Offline


Flesh is a design flaw.

Posts: 114
Gender: male
Re: Unreal NVidia PhysX support
Reply #19 - 02/15/10 at 22:47:35
 
Geeze, this works almost exactly like static meshes now! I made a huge krall, climbed on it's feet, and shot it over. That bug where you have to hit it directly on the cylinder is now gone, and it would be much more like a static mesh, the only thing is is that there isn't a class for that that won't move or that snaps to the grid, but you could always set that up with the properties. Nice! With the new lighting in 227 for meshes, you could theoretically use these for static meshes with hardly any problems. On the other hand, the Physics work great. Keep it up with the scary-good engine updates, .:..:'s.
Back to top
 

...
WWW WWW  
IP Logged
 
Pages: 1 2 3 
(Moderator: Smirftsch)