How do I properly event a cannon?

Author Topic: How do I properly event a cannon?  (Read 3523 times)

This is what the cannon looks like...

And this the events that I have given the cannon...

Fyi, the cannon is pointing west.

That's correct. As long as you have the trajectory set correctly.

When I activate the cannon, and the projectile is spawned, it just explodes the whole thing.

Just toy with the numbers in each box. I'm also pretty sure having 100 100 0 as the first numbers isn't West.

which brick is named cannon?

Im not sure but first box is forward, second bex is left (or right) and 3rd box is up.

Im not sure but first box is forward, second bex is left (or right) and 3rd box is up.

Wrong, first is X, second is Y, and third is Z. N/S E/W U/P


The very front bottom part.
Try turning the raycasting or collision off

The very front bottom part.
It may be colliding with the top brick. Try adjusting the trajectory and turning of raycasting for the top brick.


Just added a 1x2 brick in front of the cannon's tip, with rendering and collision disabled and raycasting on and labelling it 'cannon', it seems to work, I just can't get the cannon ball to shoot straight in the west direction.

The first three boxes should be direction, the last three should be for how much the bullet is allowed to go in a different direction than fired. Try putting the last three boxes at 0.

First 3 boxes: Cardinal direction
Last 3 boxes: Cardinal direction spread