Slam door animation?
3 posters
Page 1 of 1
Slam door animation?
Hi
Just wondering if its possible to code the slam door animation for carriages and class 421 etc ?
Kind regards
Ray
Just wondering if its possible to code the slam door animation for carriages and class 421 etc ?
Kind regards
Ray
leyland1195- Posts : 34
Join date : 2012-09-24
Re: Slam door animation?
It is definitely possible to code animations for swinging doors.
A simple code example would look like this
Of course you can modify that code to work with the left doors too and the value (1.55) can be changed as well.
Make sure to remember that it's in Radians and not degrees.
That is a simple code
There are ways of making the animation to look more dynamic but it's difficult to explain how (I'm not super good with animations myself) and it's best to familiarise yourself with the .animated file section of the developer documentation
A simple code example would look like this
- Code:
RotateYFunction = rightdoors * 1.55
Of course you can modify that code to work with the left doors too and the value (1.55) can be changed as well.
Make sure to remember that it's in Radians and not degrees.
That is a simple code
There are ways of making the animation to look more dynamic but it's difficult to explain how (I'm not super good with animations myself) and it's best to familiarise yourself with the .animated file section of the developer documentation
SP1900- Posts : 302
Join date : 2017-12-08
Age : 21
Re: Slam door animation?
For a working example look at the Irish heritage coaching stock by celtictrainsim.com
SP1900 likes this post
Similar topics
» Door animation
» Help with animation
» Animation loop problem
» Animation formula brainpicking...
» Animation code - assistance needed
» Help with animation
» Animation loop problem
» Animation formula brainpicking...
» Animation code - assistance needed
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|