Skip to content

mdotstrange/MyUnityScripts

Repository files navigation

MyUnityScripts

C# scripts I've created for my own projects- They might have dependencies on 3rd party scripts etc as they are taken from my projects-SrrY

Platform Mover

Alt text

Uses RigidBody MovePosition and MoveRotation to move a rigidbody object. I use this to move platforms and elevators for my rigidbody character. Elevator mode will move back and forth between the first two points. Use the "active" bool to switch it on and off. It can rotate to face the next point but always keeps the object level.

Flight Path

Alt text

Example usage Alt text

Does basic 3d pathfinding with a rigid body- on the rb, turn gravity off and interpolate on. Can fly to/around a target or stop/lookAt when it reaches the target/distance.

About

C# scripts I've created for my own projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages