I have started making some kind of tennis / ping pong but I have problems ...
I think collision isn't working fine on Z axis or I don't know how to set it work check this source I started making and tell me the solution please...
Cheers
Boris
New problem
Moderator: Moderators
New problem
- Attachments
-
- tenis.zip
- (1.11 KiB) Downloaded 532 times
Yo mama's so fat that a recursive function computing her weight causes a stack overflow.
Hey Boris, nice to see you are still with us
The collision tests are 2d-only at the moment. You can still make it
work by adding a Condition-component to the OnCollision property list
which tests the z-value.
You also need to take care that you won't have repeated collisions.
When you reverse the z-velocity, it will immediately collide again
and reverse once more . I added a line to move the ball just outside
the collision test in the z-axis when colliding.
Btw, I like the shadow
See attachment.
The collision tests are 2d-only at the moment. You can still make it
work by adding a Condition-component to the OnCollision property list
which tests the z-value.
You also need to take care that you won't have repeated collisions.
When you reverse the z-velocity, it will immediately collide again
and reverse once more . I added a line to move the ball just outside
the collision test in the z-axis when colliding.
Btw, I like the shadow
See attachment.
- Attachments
-
- tenis.zgeproj
- (5.42 KiB) Downloaded 644 times
You wont rid of me easily heheVilleK wrote:Hey Boris, nice to see you are still with us
Thanks for help, I thought to try to do that using Conditions but I thought that its possible to do it with collision and Z - axis
oh well ill try finishing this game
thanks
Boris
Yo mama's so fat that a recursive function computing her weight causes a stack overflow.