MiniB3D LoadAnimMesh problem.

SLotman

Active Member
3rd Party Module Dev
Joined
Jul 3, 2017
This is a weird behaviour: if I load my model with LoadAnimMesh, nothing shows up on screen. I can find the children object in the file and everything else. The model also loads on MiniB3D/BlitzMax and on Blitz3D.

If I load the same model with LoadMesh, I can't find it's children (this is expected behaviour) - but it shows the 3d model.

Seems someone pointed this also, a long time ago:

The answer posted there, to use CopyMesh, seems to work. Does anyone know why? :(
 
Last edited:

SLotman

Active Member
3rd Party Module Dev
Joined
Jul 3, 2017
Also, I just found out something that doesn't happen on MiniB3D/BlitzMax and on Blitz3D.

If I do something like this:

camera = CreateCamera()
cube = CreateCube(camera)
HideEntity cube
ShowEntity camera

cube WILL be visible in MiniB3D for Monkey/Cerberus, because when you show an entity, only on this version it shows all children as well.
On MiniB3D/BlitzMax it just sets hidden = true / false and it doesn't care about children.

This is *not* a bug, but it is a different behaviour from the original engine.
 
Last edited:

adamredwoods

Member
3rd Party Tool Dev
Joined
Jun 23, 2017
It steps through each child to show and hide entities. It really should follow the original BlitzMax.

As for LoadMesh, I recall a few problems, but don't recall why LoadAnim did that.
 
Top Bottom