I’ve been working at solving a problem I have with using Flowscript and a simple bullet spawn from a playerweapon.
Somehow the bullets that are spawned are fired in the global z direction everytime. I’d like the bullets to use the local direction of where the player is looking at.
The first flowscript is bound to the bulletprefab, the second is bound to the playerweapon.
I’m trying to learn how to use flowscript, so any help on this is appreciated.
What you would want to do, is instantiate the bullet at the same rotation as the parent object has, so that the bullet has the same world orientation, otherwise, the bullet is simply instantiated with 0,0,0 rotation. 🙂