Forum Discussion
g.a.l.a.x.y
1 year agoHonored Guest
Physics for ball game
Hello!
Playing with Unity VR and try to make a tennis game. The problem with ball physics. I added physics related things like rigidbody, collider, material. I can keep the ball on my racket but when i push it up quickly the racket goes through my ball. The same when i swing. strange behaviour.
Params for the ball:
- Drag: 0
- Gravity: true
- Collision detection: Continuous dynamic
Params for the racket:
- Drag: 0
- Gravity: false
- Collision detection: Continuous
isKinematic: true
What am i doing wrong? Or maybe Unity does not support ball interaction physics and i need to develop a custome one for that?
1 Reply
Replies have been turned off for this discussion
- janvanhammerMHCP Member
Maybe you need to add force when hitting a certain racket movement threshold according to the movement of the racket and speed of the players controller.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 16 days ago
- 1 year ago