Camera collisions with duckcourt code
I was attempting to use the duck court code to have players shoot a ball from inside a world. However there are slight differences between the duck demo and my demo that have since caused quite a few problems.
In my demo, the players collide with a landscape, so there collision is turned on. When I go to shoot a ball using the duck court code, it positions the ball directly at my players location, and when it is fired, my character gets quite a jolt of kickback in the form of a push in +Y direction. If I keep doing this I can keep goign upward till I run out of balls. Any thoughts on how this could be addressed? I saw that the phys line is used at the beginning. Is there a way to move slightly further out along this vector in vizard, or do I have to do that part by scratch? Thanks, George |
Have you tried disabling collisions between the viewpoint and the balls?
Code:
ball.disable(viz.INTERSECTION) |
You sir, are a Vizard God.
Thank you once again. And with that my demo is nearly complete! ~George |
All times are GMT -7. The time now is 04:32 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC