ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Follow Path CopperLicht pls.
person icon
GBR
Guest
Quote
2021-12-17 21:06:17

I want to use PathToFollow,
CL3D.AnimatorFollowPath, CL3D.PathSceneNode(),
CL3D.AnimatorFollowPath.EFPFEM_START_AGAIN, CL3D.AnimatorFollowPath.EFPFEM_STOP!

so far understand that with CL3D.PathSceneNode(), I can define the path with 3d vertor but how would that be?
nodes = new Array(?????? )?

and how do I make an object follow the path I create with Array if someone can help me on what is the right format for the 3d Vector Array!

So the question is how to create paths and make an object follow in copperlicht?

person icon
niko
Moderator
Quote
2021-12-18 11:10:51

Yes, nodes is just an array of CL3D.Vect3D objects, each of which define the point in 3d. That's basically it.

person icon
GBR
Guest
Quote
2021-12-18 14:34:36

would have a sample code? please.

Thanks -

person icon
GBR
Guest
Quote
2021-12-18 15:39:06

Getting it to work! Thank you Niko.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |