Roundbeargames | Why Your Bullets Go Through Walls - Unity Tutorial @Roundbeargames | Uploaded December 2019 | Updated October 2024, 3 hours ago.
IMPORTANT: Use velocity or AddForce (do NOT directly change Transform values)
In most cases, switching Discrete → Continuous Speculative / Continuous / Continuous Dynamic solves the issue. The options are there to prevent fast moving objects from passing through. Pls check your RigidBody component.
Download the scene here:
github.com/RoundBearChoi/BulletTest
Official Unity documentation on collision detection mode:
docs.unity3d.com/ScriptReference/Rigidbody-collisionDetectionMode.html
Check out my gamedev prep course:
youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Any questions/comments? Join us on discord:
discord.gg/hAFTgcA
Social
twitter: twitter.com/roundbeargames
facebook: facebook.com/roundbeargames17
hive: peakd.com/@roundbeargames/posts
reddit: reddit.com/user/roundbeargames
linkedin: linkedin.com/in/jangwon-choi-roundbeargames
Patreon:
patreon.com/roundbeargames
Channel Memberships:
youtube.com/roundbeargames/join
#gamedev #indiegame #unitytutorial #devlog
IMPORTANT: Use velocity or AddForce (do NOT directly change Transform values)
In most cases, switching Discrete → Continuous Speculative / Continuous / Continuous Dynamic solves the issue. The options are there to prevent fast moving objects from passing through. Pls check your RigidBody component.
Download the scene here:
github.com/RoundBearChoi/BulletTest
Official Unity documentation on collision detection mode:
docs.unity3d.com/ScriptReference/Rigidbody-collisionDetectionMode.html
Check out my gamedev prep course:
youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Any questions/comments? Join us on discord:
discord.gg/hAFTgcA
Social
twitter: twitter.com/roundbeargames
facebook: facebook.com/roundbeargames17
hive: peakd.com/@roundbeargames/posts
reddit: reddit.com/user/roundbeargames
linkedin: linkedin.com/in/jangwon-choi-roundbeargames
Patreon:
patreon.com/roundbeargames
Channel Memberships:
youtube.com/roundbeargames/join
#gamedev #indiegame #unitytutorial #devlog