Issue with terrain destruction

Hi I’m not sure exactly where to post this because I’m not sure what’s causing the issue.

I’ve had an idea for a hidden chest in my game which is hidden under some sand terrain. In order to get the treasure you have to blow up the sand with a cannon as demonstrated below. However, there is an issue with consistency. As far as I can tell its either an issue with the cannon script or the roblox engine itself.

On the clip above I’ve spawned right next to the cannon and all works as normal however on the clip below the cannonball bounces off and doesn’t damage the terrain like it should. This only happens when the player spawns in far away from this area and then travels over.

Does anyone have any idea why this might be? And is there a way to fix it? I’d guess its something to do with the physics engine? Should I make the cannon local or is there a property I need to change within the explosion?

2 Likes

It may be because of NetworkOwnership, does the script set the network ownership to the server before launching?

2 Likes

I’ve just made all the scripts local (making network ownership local automatically) and it seems to be working. Thank you.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.