This is a new part of the blender to Unity game asset tutorial, in which I will actually shoot the cannonball with the cannon.
I add a Rigidbody in a C# script to be able to set the velocity for shooting the cannonball.
In the C# script is implemented some testing code for rotating the cannon and execute the shot. But the game logic for player interaction works as well.
See my social profiles here
G+: https://plus.google.com/+JayAnAm
Twitter: https://twitter.com/jayanamgames
Facebook: https://www.facebook.com/jayanamgames
Patreon: https://www.patreon.com/jayanam
Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com
#unity
#blender
#gamedev
Voir sur youtube