Originally Posted By: uniman

if(camera.tilt<-20)
{
camera.tilt = -20;
}
if(camera.tilt>40)
{
camera.tilt = 40;
}

try this also instead from above
camera.tilt = clamp (camera.tilt, -20, 40);
Besides, I miss your particle code.


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P