Unable to hide models

About Monkey 2 Forums Monkey 2 Programming Help Unable to hide models

This topic contains 2 replies, has 2 voices, and was last updated by  Hezkore 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9678

    Hezkore
    Participant

    I can’t figure out how to hide models.
    The entity class has a Visible property, but setting it to False doesn’t seem to actually hide it.

    Also, why is there a “Scene” we use in Mojo3D?
    We can’t create new scenes and use SetScene( myScene ) anyways, so the default one is always used.
    And myScene.MakeCurrent() or something doesn’t work either.
    So things like AmbientLight and such should just be called from Scene.AmbientLight()

    #9687

    Mark Sibly
    Keymaster

    The ‘donut’ demo allows you to toggle visbility – but it’s not working! Fixed now…

    Please ignore the Scene singleton system for now, as I haven’t decided yet how all that will work. I would certainly like to have multiple scenes though.

    #9692

    Hezkore
    Participant

    Thanks Mark!

    I wouldn’t mind if it worked like it does now..
    One default scene created at start and then the option to create a new scene with myScene=New Scene
    SetScene( myScene ) would enable your custom scene, while SetScene( Scene.GetDefault() ) would enable the default scene.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.