No work!

Blitz3D Forums/Blitz3D Programming/No work!

Yue(Posted 2014) [#1]
Local malla[3]
For X = 1 To CountChildren(Cabeza)
	
	malla[x] =GetChild(Cabeza,x)
	DebugLog EntityName(malla[x])
	
	
	
Next 

brush =CreateBrush(255,0,0)

PaintMesh malla[1],brush



return "Entity is no a mesh"


Guy Fawkes(Posted 2014) [#2]
That means that you are trying to paint an entity instead of a mesh.


Matty(Posted 2014) [#3]
You need to use the entityclass command.


Yue(Posted 2014) [#4]
I'm really confused, I entityClass returns is a pivot, I'll look at the model, because I want to access the mesh daughter.


Yue(Posted 2014) [#5]
Ok, the problem is a bug in fragmotion from Blender if the children as mesh, fragmotion, has the option to export the node like mesh, pivot, or bone is exported, but it gives the error screen will never send it as grid that node.