Jump to content

Search the Community

Showing results for tags 'setModelview'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. Hi If my Player is set to : player = new PlayerSpectator(); player.setPosition(Vec3(0.0f,0.0f,0.0f)); player.setDirection(vec3(-1.0f,0.0f,-0.5f)); player.setMinVelocity(20.0f); player.setMaxVelocity(40.0f); engine.game.setPlayer(player); AND my WidgetSpriteNode & ObjectMeshSkinned is set to: spriteWithAnim = new WidgetSpriteNode(gui, screenSizeW, screenSizeH); //change these back spriteWithAnim.setNode(spriteWithAnimNode); ObjectMeshSkinned mesh = add_editor(new ObjectMeshSkinned("data/all_unigine_newgame/meshes/Nut_Mesh_All.smesh")); mesh.setMaterial("hazelnut","*"); mesh.setProperty("surface_base","*"); spriteWithAnimNode = mesh; spriteWithAnim.setNode(spriteWithAnimNode); spriteWithAnim.setOrder(4); gui.addChild(spriteWithAnim,GUI_ALIGN_OVERLAP); What will be the setProjection and setModelview so the model is facing the player; see image: PLUS how to make the spriteWithAnim background transparent? (at moment its black) Thanks Paul
×
×
  • Create New...