I have a tree with like 100 polys, and set up collision properly...
The problem is the Play1 will not slide around the oak tree b3d model or the sphere16 model, but will slide around the Blitz created sphere properly. I also created a Sphere with 8 segments so I could have a lower poly sphere mesh and see if it was the smoothness of the mesh that was causing the play1 to "Stick" to a mesh when a collision happened, but it didnt matter.
The question is, what am I doing wrong here. Based on this code the play1 mesh should slide around any of these objects when it collides, instead it slides around the blitz created mesh but not the loaded meshs.
Any help would be greatly appreciated!
Thank you.
OakTree = loadmesh("C:\OakTree.b3d") PositionEntity OakTree,80,10,20 ScaleEntity OakTree,.1,.1,.1 EntityPickMode OakTree,2 NameEntity OakTree,"Oak Tree" EntityRadius OakTree,5 EntityType OakTree,Type_Scenery Sphere16 = loadmesh("C:\Sphere16.b3d") PositionEntity Sphere16,20,10,20 Scaleentity Sphere16,.5,.5,.5 EntityPickMode Sphere16,2 EntityRadius Sphere16,5 EntityType Sphere16,Type_Scenery NameEntity Sphere16,"Oak Tree" Circ = CreateSphere(8) PositionEntity Circ,40,10,40 ScaleEntity Circ,5,5,5 EntityPickMode Circ,2 EntityRadius Circ,5 EntityType Circ,Type_Scenery NameEntity Circ, "Circ" Play1 = CreateSphere() ScaleEntity Play1,2,2,2 EntityPickMode Play1,2 NameEntity Play1,"JoeJoe" EntityRadius Play1,2 EntityType Play1,Type_Char Collisions Type_Char,Type_Ground,2,3 Collisions Type_Char,Type_Scenery,1,2 While Not KeyHit(1) CheckMouse() ;Checks for mouseclicks MoveEntity Play1,0,-1,0 UpdateWorld() Renderworld() Flip Wend ClearWorld() End
The problem is the Play1 will not slide around the oak tree b3d model or the sphere16 model, but will slide around the Blitz created sphere properly. I also created a Sphere with 8 segments so I could have a lower poly sphere mesh and see if it was the smoothness of the mesh that was causing the play1 to "Stick" to a mesh when a collision happened, but it didnt matter.
The question is, what am I doing wrong here. Based on this code the play1 mesh should slide around any of these objects when it collides, instead it slides around the blitz created mesh but not the loaded meshs.
Any help would be greatly appreciated!
Thank you.