You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
For RigidBody and CharacterBody, you can solve the priority order of collision solving with infinite_inertia in certain extent. However, in the current collision between StaticBody and CharacterBody, there is no priority order for collision solving. For example, objects such as moving platforms and vehicles are essentially StaticBody, but terrain is also a StaticBody. This means that when a CharacterBody is sandwiched between terrain and moving platforms, the CharacterBody can easily be buried in the terrain.
2021-07-31.12.17.12.mov
Describe the feature / enhancement and how it helps to overcome the problem or limitation
In that case, the ideal condition is to be buried in the moving scaffolding, but not in the terrain. I think this can be solved by implementing a priority of collision solving.
Definitely makes sense to have this feature, I don't see any easy way to do it by script otherwise.
It would be probably on PhysicsBody directly, in order to also handle other types of bodies, like characters pushing other characters into walls.
I'm not sure at this point if it could affect only character motion, or also rigid bodies in the physics simulation (so characters would also not push rigid bodies through walls). That would need more experimentation.
Describe the project you are working on
3D Character Game
Describe the problem or limitation you are having in your project
For
RigidBody
andCharacterBody
, you can solve the priority order of collision solving withinfinite_inertia
in certain extent. However, in the current collision betweenStaticBody
andCharacterBody
, there is no priority order for collision solving. For example, objects such as moving platforms and vehicles are essentiallyStaticBody
, but terrain is also aStaticBody
. This means that when aCharacterBody
is sandwiched between terrain and moving platforms, theCharacterBody
can easily be buried in the terrain.2021-07-31.12.17.12.mov
Describe the feature / enhancement and how it helps to overcome the problem or limitation
In that case, the ideal condition is to be buried in the moving scaffolding, but not in the terrain. I think this can be solved by implementing a priority of collision solving.
See also #3066.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Implement priority order of collision solving in
StaticBody
inspectorIf this enhancement will not be used often, can it be worked around with a few lines of script?
No
Is there a reason why this should be core and not an add-on in the asset library?
It needs to be included within the GodotPhysics
The text was updated successfully, but these errors were encountered: