#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
Have you tried disabling collisions between the viewpoint and the balls?
Code:
ball.disable(viz.INTERSECTION) |
#3
|
|||
|
|||
You sir, are a Vizard God.
Thank you once again. And with that my demo is nearly complete! ~George |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Example code for VizCave | stefs | Vizard | 6 | 01-08-2013 12:43 PM |
questions about the duckcourt example | Eunice | Vizard | 4 | 12-21-2005 11:16 AM |
Vizard Crashes: causes are hard to determine, possible problem with the viz code | vr_boyko | Vizard | 1 | 01-07-2005 11:52 AM |