WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-05-2009, 09:56 AM
durf durf is offline
Join Date: Feb 2009
Posts: 61
Physics Question


Im trying to have a ball fall from a certain height and pass through a floor but have it land on the floor below it. Can anyone explain what I am doing wrong?


import viz


viz.MainView.setPosition([0,10,-35]) #sets camera position
viz.MainView.setEuler([0,2,0]) #sets camera pitch

ground1 = viz.add('tut_ground.wrl')

ground2 = viz.add('tut_ground.wrl')

ball = viz.add('ball.wrl',pos=[0,15,6]) # Add a ball
ballPhys = ball.collideSphere() # Enable physics on ball
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
physics engine exception ad_astra Vizard 3 03-25-2009 11:31 AM
Physics and Haptics jalvarez Vizard 3 07-16-2008 03:03 PM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
another physics question adimov Vizard 1 07-22-2004 03:56 PM
Physics engine question adimov Vizard 2 07-22-2004 12:33 PM

All times are GMT -7. The time now is 01:37 PM.

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