S - backward
A - turn left
D - turn right
1 - Sword Swing (no sword model loaded, though)
Mouse right click to turn your character with the mouse.
Mouse left click to look around, but not change direction.
if (EntityPick(&raycast,pivot2,10.0f,1)) {
PositionEntity(pivot3,Vec3(raycast.X,raycast.Y,raycast.Z));
PositionEntity(camera, Vec3(0,0,Min(camz, EntityDistance(controller,pivot3)-0.7f)));
}
else {
PositionEntity(camera, Vec3(0,0,camz));
}
gamecreator, on 18 January 2012 - 05:04 AM, said:
gamecreator, on 19 January 2012 - 07:41 AM, said:
Clackdor, on 18 January 2012 - 02:09 PM, said:
gamecreator, on 22 January 2012 - 12:04 AM, said: