≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Manipulating meshes
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hi, you can use the CopperLicht API as well like this: [code] var node = engine.getScene().getSceneNodeFromName('NameOfYourNode'); if (node) { if (node.getType() == 'mesh') { var mesh = node.getMesh(); for (var i=0; i<mesh.GetMeshBuffers().length; ++i) { var meshBuffer = mesh.GetMeshBuffers()[i]; for (var v=0; v<meshBuffer.Vertices.length; ++v) { meshBuffer.Vertices[v].Pos.X += 1.0; } meshBuffer.update(false, false); } } } [/code] I just wrote this without testing it, but it should work.[/quote]
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
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact