This is an old revision of the document!
Q: When an entity with many bodies is atttached to a sticky area it does work to make it a static collider?
A: Use a timer so it is set to static collider half a second or so after it has attached to the sticky area. The sticky area and static colliders overlaps in usage of some physics settings, so the sticky area needs to be done before you set the body as static.
Q: MoveObject does not work properly with an entity with two or more bodies?
A: Specify which body to move by adding it to MainPhysicsBody in the model editor → entity settings → Class → Prop_MoveObject.
Q: Using a function returning a value from C++ (such as GetName() ) as an argument to a callback doesn't give the callback the correct value.
A: Use a temporary variable to store the value in before using it as an argument.
Q: Oh no! One of my levers have weird interaction. It won't move, or it suddenly inverts the mouse movement!
A: Lever interaction is tricky. First try changing the entity's MoveDirection. If that doesn't help and the problem only occurs when the lever is almost at its max or min position, try limiting the range of the joint in the .ent file.
Q: Why can't I render something to a GUI?
A: Try these steps
Q: Particles does not fade in and out even though I have configured max and min distance?
A: Check the colour setting for the particle and make sure that the alpha is not lowered. If the particle should be fainter, fade it with the colour setting instead (changing from white towards black makes the particle less visible). The alpha can then be left at full and the distance fade will work properly.
Q: After loading a map I can't pan the camera only rotate?
A: The Controller mode is probably set to Fly. Set it back to Maya by clicking on View button at the top left → Controller → Maya.