Skip to content

How to disable mantling for certain actor? Preferably through tags or collision preset #228

Answered by Fantomatik
kuchuk-borom-db asked this question in Q&A
Discussion options

You must be logged in to vote

Collision settings

https://github.com/dyanikoglu/ALS-Community/blob/81014e87b8767cd43512e9ba56920245413f5e09/Source/ALSV4_CPP/Public/Components/ALSMantleComponent.h#L85-L88
https://github.com/dyanikoglu/ALS-Community/blob/81014e87b8767cd43512e9ba56920245413f5e09/Source/ALSV4_CPP/Private/Components/ALSMantleComponent.cpp#L181-L182

You can see from the code above that the mantle system use the profile "IgnoreOnlyPawn" to detect a mantleable object.

If you made a custom collision object channel "NoMantle", you can set the IgnoreOnlyPawn Preset to ignore the objects from the NoMantle object channel as well (in the Engine - Collision category found in the project settings)
It will work because…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kuchuk-borom-db
Comment options

Answer selected by kuchuk-borom-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants