Show flight path of balls
Hi,
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: Code:
info.object.applyForce( vectorB.vec, 1 ) Many thanks... |
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:
Code:
viz.startlayer(viz.LINES) |
All times are GMT -7. The time now is 05:02 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC