Jump to content

Josh

Staff
  • Posts

    25,563
  • Joined

  • Last visited

Profile Information

  • Location
    USA

Recent Profile Visitors

1,515,106 profile views

Josh's Achievements

Grand Master

Grand Master (14/14)

  • Well Followed
  • Dedicated
  • Conversation Starter
  • Reacting Well
  • Problem Solver

Recent Badges

16.2k

Reputation

1k

Community Answers

  1. https://github.com/Leadwerks/Documentation/blob/master/Lua/Entity_SetPhysicsMode.md
  2. Ela = {} Ela.name = "Ela" Ela.bone = nil Ela.player = nil function Ela:Load() self.player = Model(self.entity) --cast to model class self.bone = self.player.skeleton:FindBone("Head") end function Ela:Update() self.player.skeleton:FindBone("bone") --yes, like this self.entity:Move(0.001,0,0) end RegisterComponent("Ela", Ela) return Ela
  3. This has been added. Cache will take some time to update.
  4. The correct value is PHYSICS_DISABLED
  5. 0.9.9 Added the rest of the videos I have at this time. These are not the final content, but there is enough we can get an idea of the effect the in-editor video help system will have.
  6. The fix is available now.
  7. 0.9.9 Fixed a problem where the time trackbar was jumping around when the user clicked on it while video is playing. Lua builds are updated with added Terrain::GetLayerMaterial method.
  8. Adding this now...
  9. It's Terrain:GetLayers() actually. It will return a list-style table with up to four material indexes.
  10. 0.9.9 The first version of the integrated video learning system is added. You probably can't miss it. There's a setting in general options to make it not appear at startup.
  11. The coordinates are the X and Y coordinate of the terrain, not the world position. The lower-left corner of the terrain is coordinate 0, 0. World position to terrain coordinate is usually something like this: int x = Round( (pos.x - terrain->resolution.x / 2) / terrain->scale.x ); int y = Round( (pos.z - terrain->resolution.y / 2) / terrain->scale.z ); x = Clamp(x, 0, terrain->resolution.x - 1); y = Clamp(y, 0, terrain->resolution.y - 1);
  12. You can get the materials that are in use at any terrain point with these commands: https://www.leadwerks.com/learn/Terrain_GetLayers https://www.leadwerks.com/learn/Terrain_GetLayerWeight
  13. Drawing two views was considered a bug at the time.
  14. Hi, can you tell me what AMD driver you have installed? There is a known problem with current AMD drivers that has been fixed in their current beta drivers. Until that is released, driver 24.7.1 is required.
  15. This project loads an MP4 video and displays it on a window, using the modern recommedended Windows media playback system. The included video does not have any sound, but sound does work. PlayVideo.zip
×
×
  • Create New...