adding small function to control collision response by channel on Cesium3DTileset #1743
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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
CHANGES.md
with a short summary of my change (for user-facing changes).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.