WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Show flight path of balls (

snoopy78 08-26-2009 02:52 AM

Show flight path of balls

is it possible to show the flight path of objects?

I want to create 2 balls. And afterthat I want to shoot another ball against the two balls.

It is possible to show the trajectories of the balls, before shooting the third ball?

I've got a vector which defines the force of the third ball:

info.object.applyForce( vectorB.vec, 1 )
Or is it possible to show the flown pathes of the balls, after shooting the thrid ball?

Many thanks...

farshizzo 08-28-2009 02:57 PM

You can use On-The-Fly objects to draw lines. So if you know the beginning and ending point of the balls path, then you could use the following code:

line = viz.endlayer()

All times are GMT -7. The time now is 08:54 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC