Im want to make a dribbling system for my football game but the problem is that i dont how i should make hitboxes for my ball to make it optimalized.
Anyone can help me find a solution or give me some ideas?
Im want to make a dribbling system for my football game but the problem is that i dont how i should make hitboxes for my ball to make it optimalized.
Anyone can help me find a solution or give me some ideas?
You can have one mesh for visuals and physics (ball-shaped), and one mesh for player collision/kicking the ball (ball-shaped or box-shaped, but should be bigger than visual hitbox imo.).
You could just use one mesh, but you might want them to be separate due to ball shape or wanting a greater hitbox for detecting things.
Roblox has a sphere type for parts, but I think using a 3D Modeling software, like Blender, would be better. That way you can have more control over tri-counts, visuals, etc.
I’m not sure which is better with realistic collisions, meshparts from Blender or Roblox’s sphere part. But, I hope that helps.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.