-
Papervision 3d 2 giving error wehen using sphere.pitch(2);
When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere.
When i add a line sphere.pitch(2); ||
sphere.yaw(2);
sphere.roll(2);
i get the following error,
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PvTest/onRenderTick()[D:\Android 3D\PvTest\src\PvTest.as:39]
Can anyone help me figure out the error
For additional Info, these are the imports i am doing:
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.view.BasicView;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|