Unity3D implementation of the Ninja Rope in Worms Armaggedon.
This implementation has been made for my game, Scufflers, currently in pre-alpha.
To use, just create a gameobject with a LineRenderer (for the rope rendering) and the script (duh!). Included is an example player controller to test it out.
C&C and PRs are welcome!
- v2 (actual): uses raycasting (via
Linecast
) - v1: uses collision with
Collider2D
for theNinjaRope
- the
NinjaHook
makes the target entity twitch when theNinjaHook
collides with something. See issue #3
- danm3d:
RequireComponent
of theLineRenderer
in theNinjaRope
script (#3266e24
) - Lukas182 (@PixFunStudios): twitching upon hook collision with element in
raycast-linecast
branch (issue#3
) - Pampattitude: duh!
Thanks for your contribution, PRs are always appreciated!