I’ve just made a little demo level, download here MSSR Examples by Inu Games
Posting for feedback.
In this level the search for snapping point and connections is made using the plugin, the rest is in the player pawn, it’s not part of the plugin per se.
There are simulated and kinematic actors. When snapping them together the strategy is as follows:
- if the target is simulated then the snapped actor will be made simulated too and attached with “weld simulated bodies” option enabled, so chains of actors are formed this way.
- if the target is kinematic the physics on the snapped actors will be disabled too.
Holding of actor is made with a physics handle. When user click on an actor we will grab the top most parent of the actor, unless the shift is pressed, in which case we will detach a weld actor from it parent.
Check it out!