Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Smoothing rotation in a whell

Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
10-31-2007 12:02
Is there someone with a sampe of a smooth rotation of a object ?

I made this.,.but it's not good :(

touch_start(integer total_number)
{
llSetTimerEvent(.1);
}

timer()
{
rotation rot = llGetRot();
rotation delta = llEuler2Rot(<0,0,PI/20>;);
rot = -delta * rot;
llSetRot(rot);
}
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
10-31-2007 12:48
Search for llTargetOmega, or look it up in the Wiki. Assuming a client-side rotation is good enough for what you're trying todo.
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
10-31-2007 17:39
This has been discussed many times before. Not just for rotations. Any smooth motion server side has the same kind of issues.

Search the Forums. Pray for Havok 4.
Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
11-01-2007 07:52
From: Ziggy Puff
Search for llTargetOmega, or look it up in the Wiki. Assuming a client-side rotation is good enough for what you're trying todo.


Ty ! I will !