Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bullet spawning using object pool #238

Open
Mid-D-Man opened this issue Sep 7, 2023 · 0 comments
Open

Bullet spawning using object pool #238

Mid-D-Man opened this issue Sep 7, 2023 · 0 comments

Comments

@Mid-D-Man
Copy link

  • Am I know this probably a silly question but I've been trying to use the object pool here to spawn bullets for the players and despawn them when they collide with something it works perfectly on the host but on the client when I call get networkobject I have to use a server rpc because I cannot spawn the network object with ownership on the client side but even when I do that it still doesn't work unless I put requires ownership = false that's only when the bullet gets spawned on the client side but then when the bullets collide and I call despawn the bullets don't get add back to the que and they remain active so like can anyone help point me In the right direction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant