setting up physics

Software: Away3D 4.x

Avatar
maddog, Sr. Member
Posted: 19 November 2011 12:42 AM   Total Posts: 118

I linked src file to source path in cs5 and am rendering to flash 11, but I get these error when I compile examples to browser.

D:\FlashScripts\away3d\away3d-awayphysics-core\src\awayphysics\AWPBase.as, Line 22 1180Call to a possibly undefined method CLibInit.
D:\FlashScripts\away3d\away3d-awayphysics-core\src\awayphysics\AWPBase.as, Line 25 1180Call to a possibly undefined method MemUser.
D:\FlashScripts\away3d\away3d-awayphysics-core\src\awayphysics\AWPBase.as, Line 7 1046Type was not found or was not a compile-time constantCLibInit.
D:\FlashScripts\away3d\away3d-awayphysics-core\src\awayphysics\AWPBase.as, Line 9 1046Type was not found or was not a compile-time constantMemUser.
D:\FlashScripts\away3d\away3d-awayphysics-core\src\awayphysics\AWPBase.as, Line 2 1172Definition cmodule.AwayPhysics could not be found

Do I have to link to something else? to get it to compile
I see there is a AwayPhysics.swc file, where would I put that?
Thanks for any help.

 

   

Alex Bogartz, Sr. Member
Posted: 19 November 2011 12:56 AM   Total Posts: 216   [ # 1 ]

Yeah, you need to include the swc file, which I believe is from porting C++ to Alchemy.  Include the swc in your project and it will work.

   

Avatar
maddog, Sr. Member
Posted: 19 November 2011 02:19 AM   Total Posts: 118   [ # 2 ]

how do i do that it flash cs5? Figured it out included swc in publish setting.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X