Hi! I'm currently working on a sidescroller project that involves an egg-shaped KActorSpawnable that's rolling down the side of a mountain.
I have the actor itself rolling, but the problem is the way movement is display. It doesn't always roll properly (sometimes it will slide more than it rolls).
I'm wondering if anyone can give me some clues on how to change the friction of the actor through unrealscript? Will lowering friction make it glide instead of rolling? Does anyone have a better solution?
Part of the problem could be that the egg's rolling movement is constrained to the Y and Z axes to avoid it rolling of the edge. The mesh is using a static mesh as a base, but can I still affect only parts of the mesh (for example, if the egg is standing upright, adding more weight to the top in order to make it topple)?
I have the actor itself rolling, but the problem is the way movement is display. It doesn't always roll properly (sometimes it will slide more than it rolls).
I'm wondering if anyone can give me some clues on how to change the friction of the actor through unrealscript? Will lowering friction make it glide instead of rolling? Does anyone have a better solution?
Part of the problem could be that the egg's rolling movement is constrained to the Y and Z axes to avoid it rolling of the edge. The mesh is using a static mesh as a base, but can I still affect only parts of the mesh (for example, if the egg is standing upright, adding more weight to the top in order to make it topple)?
Comment