SpeedTree, APEX / PhysX and API?

Hello some days i go i asked about making a tree chopeable.
Here is the Answer Hub post.

As this is uncharted waters for me I managed to get a model with a static bottom.
And its seems to me its about how you set it up in your 3D Package / PhysX Lab.

1 So am wondering is APEX / PhysX supported out of the box, and if so i can`t find out how to reference the PxScene?

2 I noticed there are several APIs for both APEX and/or PhysX, and also SpeedTree, do i need them, and what for?

3 While trying to make a Speed Tree model destructable the editor crashes, any idea way?

4 Is physics like this replicated over the network?

5 The damage that is done on a blocking hit on a destructable is this the Velocety of the mesh hiting the destructable?

6 I need as much information on this as i can get, got any tips for what i need to read up on?

Thanks for any and all help.

1 So am wondering is APEX / PhysX
supported out of the box, and if so i
can`t find out how to reference the
PxScene?

Honestly, I’m not sure about PxScene. The only two that are supported out of the box are Apex Destruction and Cloth. These are cross-platform features that are run off the CPU. GamesWorks framework is able to be added but the licensing has to be done through Nvidia for their tech beyond cloth and destruction.

2 I noticed there are several APIs for
both APEX and/or PhysX, and also
SpeedTree, do i need them, and what
for?

PhysX and Apex are included with the engine. SpeedTree recently released their plug-in so that you can create your own SpeedTree assets. SpeedTrees .srt files are able to be imported and used since the release of 4.3.

3 While trying to make a Speed Tree
model destructable the editor crashes,
any idea way?

This isn’t good! This is a bug and have been able to reproduce this on my end. I’ve submitted a bug report (TTP#: 343637) for this to be looked into further.

4 Is physics like this replicated over
the network?

You should be able to setup physics to be replicated on a server. I’m not sure about stipulations here as this is not really my in my realm of experience. This may be suited for it’s own AnswerHub question once you start testing or at least prototyping something simple and seeing what results you get.

5 The damage that is done on a
blocking hit on a destructable is this
the Velocety of the mesh hiting the
destructable?

This would depend on how your mesh is being affected. There are different ways to apply damage to your destructible mesh. If you’re using a radial force then it would be the impulse that is applying the damage. If your using a projectile it would be the velocity that is applying the damage. In the destructible you would want to adjust the impact damage as well to affect how easily it is damaged.

6 I need as much information on this
as i can get, got any tips for what i
need to read up on?

I’ve actually responded to your other thread linked above with some information and forums post that another user had requested something similar on. That should be enough to get you started with making your destructibles.

I hope this has helped answer your questions.

Feel free to ask any other questions you may have.

Tim

Thank you Tim aprichiate all the help.
I got some mesh into the editor and it dont behave as i want but its geting there.
Cheers!

Glad to hear! If you have any trouble or discussions that you want to go over feel free to post on the forums and I’ll take a look. I"m on there quite a bit! :slight_smile: