The place to post mesh,and animation related hints and problems.

mesh + animation how to?

mesh + animation how to?

Postby Ellement » 02 Nov 2012, 20:38

I was just wondering how do i animate an object inside the engine? say i want to rotate a cube or sphere. Do i have to do this by script? if so , how to do it?

thank you
User avatar
Ellement
Skyline Padawan
 
Posts: 92
Joined: 31 Oct 2012, 22:19

Re: mesh + animation how to?

Postby StarFire » 02 Nov 2012, 21:28

Animation can be achieved in one of 3 ways:

1. The mesh can be animated inside the modeling application ( long way )

2. Through the use of the lua script entity.setRotation(entity_ID, x, y, z) see the Scripting API https://api.aurasoft-skyline.co.uk/index.html

Note: the API can be accessed from inside Skyline from the Help menu.

3. And finally the quickest way is via the use of the Rotate Action. See the Toxic knot demo for an example of the rotation action. I will write a quick tutorial on how to rotate an object via actions.
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1422
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: mesh + animation how to?

Postby Ellement » 02 Nov 2012, 22:35

Thank you , very usefull
User avatar
Ellement
Skyline Padawan
 
Posts: 92
Joined: 31 Oct 2012, 22:19

Re: mesh + animation how to?

Postby StarFire » 02 Nov 2012, 23:16

I have added a new tutorial to the user manual on how to add a Rotation Action, hope this helps ;)
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1422
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: mesh + animation how to?

Postby Ellement » 02 Nov 2012, 23:28

NightHawk wrote:I have added a new tutorial to the user manual on how to add a Rotation Action, hope this helps ;)



Hi thank you. :? , ehmm may you link it plz, somehow i can't find it
User avatar
Ellement
Skyline Padawan
 
Posts: 92
Joined: 31 Oct 2012, 22:19

Re: mesh + animation how to?

Postby StarFire » 02 Nov 2012, 23:29

User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1422
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: mesh + animation how to?

Postby Ellement » 02 Nov 2012, 23:47

Works, Thank you.
User avatar
Ellement
Skyline Padawan
 
Posts: 92
Joined: 31 Oct 2012, 22:19

Re: mesh + animation how to?

Postby epsilonion » 12 Oct 2017, 15:14

Hi welcome to the Skyline forums, this would be a question that I can not answer myself but the development team can and they won't be long (usualy) in answering your query.

I just wanted to welcome you to the community.

If you looking for faster support you can join our discord tech support https://discord.gg/4bKEAm
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 835
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative


Return to Mesh + Animation

Who is online

Users browsing this forum: No registered users and 1 guest