Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- then set_rot()
- <ducklin5> make a script in the root of the scene
- <ducklin5> in this node the global variables will be made
- <ducklin5> 1 global variable will get the rotation of the gun
- <n-pigeon> otorp2, option nr 1 add instance of the bullet to first node and get set global transform from barrel to bullet
- <ducklin5> then you go to your bullet and you get the global variable and set it as the bullets rotation
- * captain_morgan has quit (Ping timeout: 240 seconds)
- <n-pigeon> option nr 1 add instnce to barrel but move it using set_global_transform()
- <n-pigeon> nr2*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement