A quick question about bullet

There are no stupid questions, just stupid answers.
2 posts Page 1 of 1
Posts: 1
Joined: Tue May 08, 2018 5:57 am
by phanhuyen12 » Tue May 08, 2018 11:09 am
I shoot a bullet with a directDamage = 5 at glass with a destroyedLevel = 2. The glass breaks but if there is another piece of glass behind this one, nothing happens. Surely even without using a physics engine directDamage should equal directDamage - destroyedLevel. Then when it hits the second piece of glass it will have a directDamage of 3 so that glass will also break. The 3rd piece of glass will not as it will only recieve damage of 1.
Or is there some other way that this works?
Posts: 965
Joined: Sun Feb 08, 2015 1:51 am
by Duion » Tue May 08, 2018 12:12 pm
If a projectile hits something it creates and "explosion" and ends, you have direct damage and explosion damage I think, so you can try adding an explosion which will break further glasses.

Or if you want to have armor piercing bullets, there is a resource for that, that I also planned to integrate at some point, but did not have the time to do so.

Here is the link to the resource:
http://www.garagegames.com/community/re ... view/18147

I would prefer integrating the armor piercing resource into the engine, so people do not have to integrate it individually. The armor piercing resource is great since it provides much more functionality like different materials will behave different when shot at and create different particle effects and decals.

So I would suggest you/we create a separate branch of Torque3D where we integrate these features, so other people that are also interested can help with it and if it works, we can pull request it into the main engine.
2 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests