However, there is a Mesh Move function: TransformMesh(). Shouldn't there be a TransformEntity() function as well/instead?A mesh may not be moved or displayed directly, but requires to be manipulated through an entity.
Transform
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Transform
From the Mesh Help (PB5):
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Transform
From the help file:
TransformMesh() supposedly moves the body relative to it its node (centre position), this is different from the "move entity" as it moves the entity together with its "centre of mass". This would make sense, but then again I might be wrong.New 'x' position of the mesh, relative to its node.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
Re: Transform
Well, since version 5.10 it is not quite true.IdeasVacuum wrote:From the Mesh Help (PB5):A mesh may not be moved or displayed directly, but requires to be manipulated through an entity.
This is true for a mesh loaded with LoadMesh()
This is also true with a mesh created manually using FinishMesh(#True).
But This is wrong with the command FinishMesh(#False). In this case, the mesh can not be used to create an entity, but it can be attached to a node or a bone, see MeshManual2.pb example.
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/

