Download

Question about relative vectors and locations

I have a tree chopping script and I want it so that when the tree breaks, logs spawn in the correct locations based on the direction of the tree.

Heres a very professional illustration to show you what I mean:


The red represents the logs I want to spawn

Ive tried using Get Up Vector but it seems to always return the same value regardless of the rotation of the tree? so the logs always spawn in the completely wrong place wherever the tree falls.

Hello,
The ‘GetUpVector’ expects a rotation, right? Have you tried using the WorldRotation of the tree as an input?