Skip to content

Feature/unity splines package - #1

Open
mehdi-kha wants to merge 2 commits into
stett:masterfrom
mehdi-kha:feature/unity-splines-package
Open

mehdi-kha wants to merge 2 commits into
stett:masterfrom
mehdi-kha:feature/unity-splines-package

Conversation

@mehdi-kha

Copy link
Copy Markdown

Hi!

I've reused your logic but using the Unity Splines package (https://docs.unity3d.com/Packages/com.unity.splines@1.0/manual/getting-started-with-splines.html). Seems to work to update the position of the rigid body so that it follows the spline. I've had some issues when trying to update the orientation of the object (so that its forward and up vectors match the forward and up vectors of the spline). I guess using another gameobject as a child for which the rotation is updated every frame could be an option.

I've also updated the Unity version used by the project ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant