Jump to content

Yue

Members
  • Posts

    2,291
  • Joined

  • Last visited

Community Answers

  1. Yue's post in Memory leak? was marked as the answer   
    I don't think Josh has time for this now, nor does he think he might be interested in it, the result is video I have in this thread, the memory goes up unchecked. The solution from my side is to create a GUI for each particular panel, menu, options etc.
  2. Yue's post in Pick C++ [Solved] was marked as the answer   
    Solved.
  3. Yue's post in Sky Box( Cube Map) Help me. was marked as the answer   
    Solved
  4. Yue's post in Error find Entity on World. was marked as the answer   
    Solved, the correction was made not to look for brushes, because with the brushes is that it presents the error, then change the brushes of the rag doll effect by external meshes. In a first level from the file attached to the entity if it works, but if I use external files with the import command and tables, it does not find them. Is that a bug?
  5. Yue's post in [Solved] GetHidden on GUI Error. was marked as the answer   
    No is GetHidden, is simple Hidden. 

    Documentation Error.

    https://www.leadwerks.com/learn?page=API-Reference_Object_Widget_GetHidden
  6. Yue's post in [Solved] GUI - Is it possible to put an image on a button? was marked as the answer   
    Solved here. Change line Script on Button.lua.

     
    Here:

     
     
  7. Yue's post in [Solved] Image Alpha Transparent GUI was marked as the answer   
    self.imgPanel:SetObject("backgroundcolor",Vec4(1,1,1,0))
  8. Yue's post in [Solved] Border no working on widget Panel. was marked as the answer   
  9. Yue's post in colission script problem was marked as the answer   
    self.entity:CallOutputs??
  10. Yue's post in [Solved] Stop animation? was marked as the answer   
  11. Yue's post in [Solved ] Someone who can help me. was marked as the answer   
    I have solved this problem, this is very painful because when this happens, motivation is lost and the project can go to hell.
    The solution if this happens to you is the following.  
    Remove the entity that has the script hooked up that shows the error, then put it back in and assign the script again and the problem is solved.
  12. Yue's post in [ Solved ]houston we have problems was marked as the answer   
    Solved, no Cast shadows on material.
  13. Yue's post in Invisible brush? was marked as the answer   
    Ok, no problem, solved here. Door Joint Slider, Collision Rigibody Trigger.
    The player when standing next to the vehicle, driver's seat, and pressing the E key, gets in and out of the vehicle.


  14. Yue's post in Orientation with springs. was marked as the answer   
    Ok, solved here.

     
    -- Constructor Vehicle. function this:Start() self.jointFL = Joint:Slider(self.bell0:GetPosition(false).x,self.bell0:GetPosition(false).y,self.bell0:GetPosition(false).z,0,1,0, self.chassis, self.bell0) self.jointFL:EnableLimits() self.jointFL:SetLimits(0,0) --self.jointFL:SetSpring(-1) self.jointFR = Joint:Slider(self.bell1:GetPosition(false).x,self.bell1:GetPosition(false).y,self.bell1:GetPosition(false).z,0,1,0, self.chassis, self.bell1) self.jointFR:EnableLimits() self.jointFR:SetLimits(0,0) --self.jointFR:SetSpring(0) self.jointBL = Joint:Slider(self.bell2:GetPosition(false).x,self.bell2:GetPosition(false).y,self.bell2:GetPosition(false).z,0,1,0, self.chassis, self.bell2) self.jointBL:EnableLimits() self.jointBL:SetLimits(0,0) --self.jointBL:SetSpring(0) self.jointBR = Joint:Slider(self.bell3:GetPosition(false).x,self.bell3:GetPosition(false).y,self.bell3:GetPosition(false).z,0,1,0, self.chassis, self.bell3) self.jointBR:EnableLimits() self.jointBR:SetLimits(0,0) --self.jointBR:SetSpring(0) end  
  15. Yue's post in Help with the rays! was marked as the answer   
    Ok, solved here. Sorry.
     
    self.ray = self.world:Pick(self.pivotPlayer:GetPosition(true) ,self.pivotCamera:GetPosition(true), self.pickInfo, 0, true,Collision.Debris)  
  16. Yue's post in Far away from the center stage, error in shadows? was marked as the answer   
    Solved.
    self.cameraPlayer:SetRange(0.001,1000) -- Problem. self.cameraPlayer:SetRange(0.01,1000) -- Solved  
  17. Yue's post in Animation Question was marked as the answer   
    https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_PlayAnimation
    The first value refers to the name of the animation or its respective number in sequence. 
    The second value is the speed, this doesn't really agree with my modeling program, and I think it's especially due to the keyframes marked in the animation so it's time to look for a calculation that matches the engine.
    In the third value, is the speed with which you change between animations, a default value is 500, but I use 100 milliseconds, which implies that the transition between animations is smooth.
    A fourth value, is by default the number zero, this implies that the animation is reproduced in a cycle where when arriving to the last keyframe it returns to the first one, if the value of the number 1 is put to the animation they are reproduced in a single shot, it is not a cycle and it is then when we can resort to the script in Script EndAnimation(), where the number of that sequence is returned when that animation finishes.

     
     
  18. Yue's post in GetMaterial() returns NULL was marked as the answer   
    I think you should get the surface first.

     
    Material* material = ((Model*)player.model->GetChild(1))->GetSurface(0)->GetMaterial();  
  19. Yue's post in Error import model fbx. was marked as the answer   
    Ready the problem has been solved.
    https://www.microsoft.com/en-us/download/details.aspx?id=29
  20. Yue's post in [Solved ]self.suspension.rim:Hide() ?? was marked as the answer   
    self.suspension.script.llanta:Hide()
  21. Yue's post in What am I doing wrong? was marked as the answer   
    When you know nothing and have to learn by brute force, trial and error, I don't like to copy other people's things, I like to try to understand things, and in a certain way when I can't learn something to decline and stop insisting. But this struggle, even though it goes on alone, today I have learned something new. 
    Only one wheel moved because it had to declare the variable as Self.Wheel = Joint:Hinge.   In this case all the tires move with the same script and climb the slope without problems.  
    Translated with www.DeepL.com/Translator

     
     
  22. Yue's post in Activate Bloom? was marked as the answer   
    Ok, no problem.

     
  23. Yue's post in [Solved] Decrease Character climb step height?? was marked as the answer   
    Ok, no problem, 
    The   process is automatic, and can not be changed. According to the controller that measures more or less 1 meter with 85 centimeters, the data of step height is already defined and no access to the change to be customized.
    Now the problem is that rocks are created with the terrain painting system, and the model has different options of collision system, so the one option of collision compatilbe with step height is the collision type box.
    And that's when you climb the rocks without problem.
     
    Step Height Documentation.





  24. Yue's post in Sound Commands? was marked as the answer   
    https://www.leadwerks.com/learn?page=API-Reference_Object_Source_SetPitch
×
×
  • Create New...