Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an object in UDK, which has a SkeletalMesh. At certain times in the game, I want this object to continue rendering the SkeletalMesh, but I'd like it to use spherical collision temporarily.

After reading a bunch about PrimitiveComponents, my understanding is that UDK supports cylindrical and box-like collision, but not spherical without using a static mesh.

EDIT: What I have now is a StaticMesh with a material that makes it invisible. I've added a StaticMeshComponent to my Pawns. I can shut off the Pawn's collision, and turn on the StaticMesh collision. But it doesn't respond to impulses. I figure I'm missing something in how you turn on the RigidBody thingy.

CylinderComponent.SetActorCollision(false, false);
share|improve this question
up vote 1 down vote accepted

It turns out that I just needed to set the CollisionComponent of the Pawn to be the StaticMeshComponent, and set all the collision channels properly. Also, changing the StaticMesh to use simplified spherical collision helped.

CylinderComponent.SetActorCollision(false, false);

CollisionComponent = RBCollisionComponent;
RBCollisionComponent.SetRBCollidesWithChannel(RBCC_Default, true);
RBCollisionComponent.SetRBCollidesWithChannel(RBCC_Pawn, true);
RBCollisionComponent.SetRBCollidesWithChannel(RBCC_Vehicle, false);
RBCollisionComponent.SetRBCollidesWithChannel(RBCC_Untitled3, false);
RBCollisionComponent.SetRBCollidesWithChannel(RBCC_BlockingVolume, true);
share|improve this answer
You should accept your own answer. – kurtzbot Nov 6 '12 at 19:28
There is a two day delay before you can accept your own answer. – Almo Nov 6 '12 at 22:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.