Пример #1
0
/**
 * Handle the player interacting with the Rotator
 */
void RotatorController::HandleInteractionEvent(InteractionEventType type, const Point3D *position, Node *activator)
{

	PlayerController* sc = TheGame->GetPlayerController();
	sc->SetPlayerAzimuth(sc->GetPlayerAzimuth() + K::pi_over_2);
}