Jump to content

wdna

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by wdna

  1. This is a nice place to begin with: He has nice tutorials for C++ beginners.
  2. Thanks! This worked for me! ship = Model::Load("Models/Ship/dark_fighter_6.mdl"); ship->SetPosition(0,4,0); shipPivot = Pivot::Create(); ship->SetParent(shipPivot); ship->SetRotation(90,90,0, true); ... if(window->KeyDown(Key::A)) { shipPivot->Move(-move_speed,0,0); } ... There's some pattern to handle this in more global manner?
  3. I found a free model I can play with of nice quality. I have the following situation: Like you can see the models initial rotation is wrong, it should be facing the direction of brush. This code can fix the rotation for me: ship->SetRotation(90,90,0, true); But then I have issue with ship movement: if(window->KeyDown(Key::A)) { ship->Move(-move_speed,0,0); } if(window->KeyDown(Key:)) { ship->Move(move_speed,0,0); } if(window->KeyDown(Key::S)) { ship->Move(0,0,-move_speed); } if(window->KeyDown(Key::W)) { ship->Move(0,0,move_speed); } Movement would be in the wrong then directions. I could also adjust this but obviously it's not the right way. I am aware you can rotate it in some 3D software like blender, but I'm trying to avoid it right now. and generally what would be best practice for such cases?
  4. Yup, missed it i guess. local material = Material:Create() material:SetBlendMode(5)--Blend.Invisible self.entity:SetMaterial(material) material:Release() ...
  5. I'm totally new to Leadwerks, I currently play with the Indie edition for windows until Linux get released. I implemented my own FPS Controller using the default script on a cylinder object. Now I wonder what makes the camera not to render the object it attached to? I did not find anything in the FPS script nor the weapon script. I'm trying to convert the FPS controller to 3rd person one...
  6. Most of the new Intel HD GPUs support OpenGL 4.0, with the appropriate drivers installed. You can find information here: http://en.wikipedia.org/wiki/Comparison_of_Intel_graphics_processing_units btw, Leadwerks 3.1 also works on Geforce 740M (laptop)
×
×
  • Create New...