sherholz
unread,Nov 15, 2011, 9:23:33 AM11/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to G3D Users
Hi
in the *.scn.any files I can describe scenes with animated objects
(like in the crates.scn.any from the stater demo).
With:
""
s0 = Entity {
model = "shipModel",
position = PhysicsFrameSpline {
control = (CFrame::fromXYZYPRDegrees( -1.1f, 8.1f,
-12.3f, 181.8f, -55.6f, 0.0f),
CFrame::fromXYZYPRDegrees( 0.5f, 4.6f,
-7.0f, 184.7f, -53.3f, 0.0f),
// Hover:
CFrame::fromXYZYPRDegrees( 0.6f, 2.5f,
-2.0f, 175.5f, -6.9f, 2.0f),
CFrame::fromXYZYPRDegrees( 0.6f, 2.5f,
-2.0f, 175.5f, -6.9f, -2.0f),
// Turn:
CFrame::fromXYZYPRDegrees( 0.6f, 2.5f,
-2.0f, 175.5f, -6.9f, 0.0f),
// Fly off
CFrame::fromXYZYPRDegrees( -0.6f, 2.5f,
-2.0f, 137.1f, -1.7f, 0.0f),
CFrame::fromXYZYPRDegrees( -1.2f, 5.3f,
0.0f, 95.9f, 6.9f, -45.0f),
CFrame::fromXYZYPRDegrees( -2.2f, 6.7f,
-14.9f, 343.0f, 9.7f, 0.0f),
CFrame::fromXYZYPRDegrees( -3.0f, 8.3f,
-16.1f, 270.8f, 5.2f, 10.0f)),
time = (0,3,4,6,8,10,12,14,16),
cyclic = true
}
},
""
I am able to animate the position of an entity.
My question is, if there is a way to animate the position of light
sources through an scn.any scene file??
Cheers
Sebastian
I am just wondering