ChangeClock / RobomasterSimulator

Robomaster Simulator
7 stars 0 forks source link

Robot model might "seperate" #32

Closed Red-edge closed 11 months ago

Red-edge commented 11 months ago

The armor model of robot may displace when undergo hitting event( ammo hitting, crashing into wall etc.).

Failed at attempts of screenshot

Red-edge commented 11 months ago

Oh i got a freaking good example

This is how i died once i crashed onto a wall! An armor in wall! Oh also failed initial revival display example. image

ChangeClock commented 11 months ago

This requires a big change in armor prefabs, as it's attached to other objects like the chassis through the fixed joint. But fixed joint is not literally 'fixed' in the physical engine due to its limitation. Combining the armor and chassis together should avoid this problem, but it will break the current design and the armor cannot work on itself. The reason is that collision detection can only be detected on the chassis object (parent object) and the armor itself cannot handle it independently.

Will figure out a solution later.