Author Topic: SphereCollision problem?  (Read 138 times)

chao chen   «   on: June 21, 2012, 07:51:15 AM »
I have a avatar and set a SphereCollision:
sphereCollision = new SphereCollision(this, 40, new Vector3D(0, 10, 0));

When the avatar outside the house, I use this sphereCollision to collision with the floors in the house.
for each (var floor:BasePlane in floorVector)
{
    role.sphereCollision.addCollisionWith(floor);
}

But "sphereCollision.fixed()" always get false, WHY?

Ivan Vodopiviz   «   Reply #1 on: June 21, 2012, 10:54:48 AM »
Hi,

It's hard to tell with so little information, but your code looks fine. Are you sure those values are right?

Jason Huang   «   Reply #2 on: June 21, 2012, 04:22:53 PM »

same problem here, I cant get the avatar go upstairs using sphereCollision.