Skip to content

Conversation

V2iDanAbend
Copy link

Description

Adds a very small function that allow the Cesium3DTileset to have the Collision response change per collision channel which is present in standard Unreal StaticMeshActors.

This is extremely useful for changing the collision response for just pawns but still retain hit responses for other channels such as vehicles. An example use case is to set the Pawn collision response to ignore if the player pawn is within a small CartographicPolygon that would otherwise not have the partially clipped tile collisions removed. All other actors in the world will still have normal collision response to the tileset for game play purposes.

image

Issue number or link

Related to my question here about finding interior of CartographicPolygon: https://community.cesium.com/t/best-way-to-check-if-object-is-inside-or-outside-of-a-cartographicpolygon/42926?u=v2i

Author checklist

  • [ x ] I have submitted a Contributor License Agreement (only needed once).
  • [ x ] I have done a full self-review of my code.
  • [ x ] I have updated CHANGES.md with a short summary of my change (for user-facing changes).
  • [ x ] I have added or updated unit tests to ensure consistent code coverage as necessary.
  • [ x ] I have updated the documentation as necessary.

Remaining Tasks

No remaining tasks that I know of.

Testing plan

Can be called in C++ or Blueprint. Accepts array or single object reference. Tested with player Pawn and Vehicle channel dynamic response changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant