Help with your scripting

Move between two points

Move between two points

Postby r2ks » 24 Feb 2021, 13:03

Can someone point me in the direction to figure out how to move between point a and b at a certain speed.
r2ks
Skyline Ensen
 
Posts: 139
Joined: 16 May 2019, 18:48

Re: Move between two points

Postby StarFire » 24 Feb 2021, 16:48

Sure have a look at the scripting workshop and examine the point and click darlek as this uses 2 vector locations and then you lerp between them.

[EDIT] for the lerp the best example is the follow path examples in the workshop :D
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Move between two points

Postby r2ks » 24 Feb 2021, 17:05

StarFire wrote:Sure have a look at the scripting workshop and examine the point and click darlek as this uses 2 vector locations and then you lerp between them.

[EDIT] for the lerp the best example is the follow path examples in the workshop :D

LOL yes that's right know how did you get so amazing... :)
r2ks
Skyline Ensen
 
Posts: 139
Joined: 16 May 2019, 18:48

Re: Move between two points

Postby StarFire » 24 Feb 2021, 17:08

:D
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 7 guests

cron