View Full Version : Soft Bodys
11-05-2009, 02:30 PM
I can't find any Topic about Soft Bodys.
How do i create them?
11-05-2009, 02:39 PM
Here's (http://udn.epicgames.com/Three/PhysXSoftBodyReference.html) a link for soft body physics
11-05-2009, 02:40 PM
If you can find then, take a look at the UT3 PhysX examples, there are some rudimentary soft bodies in there. I believe they are in this file;
Edit: Beaten to it with a more up-to-date link :)
11-06-2009, 11:50 AM
11-08-2009, 01:41 PM
Meh... got my own Soft Body ingame now, works...
But I can't interact with it.
Weapons -> no reaction
Touch -> no reaction
I only can interact through touching it with a RigidBody.
There has to be a setting where I can fix this... but where? UDN isn't really helping atm.
11-09-2009, 12:14 PM
Take a look at this tutorial http://www.hourences.com/book/tutorialsue3softphys.htm, i managed to get it working but the softbody only collides with weapons not with character. I want to that it interacts with the physx gun, anyone knows how to do this?
11-09-2009, 12:35 PM
Oh wow, thank you!
But another problem. Very strange: the soft body doesn't react on rockets and normal linkgun shootings. Just the beam :S
03-05-2010, 08:06 PM
I have been able to play with the soft body with the physix gun, but I ran into a lot of problems. I found the solution by combining the info you get in the 3DBuzz's video tutorials available on the UDN about physics.
Here is how :
Create a physic asset from your skeletal mesh
Import the physic asset in the level
Set the properties of the asset as follow : in the soft body tab of the Kasset tab, enable soft body simulation and Soft Body Awake on Start ( this one is not mandatory), pick RBCC_GamePlayPhysics in the Soft Body RBChannel and in the Soft Body RBCollide with Channel, choose default and Gameplay Physics.
But as I said, I m running into lots of problems. The Soft Body reacts to the physix gun. If not, set the mass scale of the bone of your physics asset to something really low like 0.1, or its gravity scale. But for some reason I eventually "crash the simulation". What I mean by that is that it works for a while, you grab the thing, play with it, throw it against the wall, but at some point, you can't anymore. And that's when you play the level in editor because I think that when I tried to on PC, it wasn't working at all.
So if anybody has a solution, a work around or knows why it's kind of buggy, let us know. I really need that to work for a project.
Oh, and sometimes the mesh appears abnormally distorded in game...
Powered by vBulletin® Version 4.2.0 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.