Jump to content

Yue

Members
  • Posts

    2,449
  • Joined

  • Last visited

Everything posted by Yue

  1. Listen to a question, how is it possible that you climb steep hills, in my case the car doesn't get in, it runs out of strength.
  2. I understand the concept of hinge, ball and slider in the joints. Only with hinges I am able to implement a simple prototype of wheels, when you already understand everything is very easy, however if I put suspension to the wheel, the hinge of articulation is blocked for its movement, Any suggestions? --Script for tire on Vehicle Script.chassis = nil --entity "Chassis" local motor local amortiguador function Script:Start() motor = Joint:Hinge(self.entity:GetPosition().x, self.entity:GetPosition().y, self.entity:GetPosition().z, 0, 0, 1, self.entity, self.chassis ) motor:DisableLimits() -- Error here. --[[ amortiguador = Joint:Slider(0, 0, 0, 0, 1, 0, self.entity, self.chassis ) amortiguador:EnableLimits() amortiguador:SetLimits(-0.2, 0.2 ) amortiguador:EnableMotor() ]] end
  3. Yue

    Joints

    Ok, I've already understood something, and I really appreciate your help, as the google translator isn't that helpful with the documentation. With this broken hinge. if self.motorspeed>0 then bisagra:SetAngle(bisagra:GetAngle()+100) else bisagra:SetAngle(bisagra:GetAngle()-100) end And with this I set the speed of rotation. bisagra:SetMotorSpeed(self.motorspeed) I feel that I have learned something new today, tomorrow will be another day and I will realize that there are things that I still don't know. Thank you very much.
  4. Yue

    Joints

    And now the question is, how do I give the tire the power it needs to have engine effect in the car? When I activate the engine, I see it only goes in one direction.
  5. Yue

    Joints

    Okay, thank you very much, I thought if the father was set, he'd take the father's coordinates to set the hinge coordinates. Now then I just have to create the hinge in the middle of the door, this would work like a revolving door, am I right?, is for the purpose of creating a tire. bisagra = Joint:Hinge( self.entity:GetPosition().x, self.entity:GetPosition().y, self.entity:GetPosition().z, 0, 1, 0, self.puerta , self.entity) bisagra:EnableLimits()
  6. Yue

    Joints

    I can understand many things but I can't apply them correctly, I want to make a simple door with a hinge, but it seems that the center point is at the global level of the scene and not in the door frame. -- Puerta = Door. -- self.entity = Frame -- Bisagra = Hinge bisagra = Joint:Hinge( 0, 0, 0, 0, 1, 0, self.puerta, self.entity ) bisagra:EnableLimits()
  7. Creating a rim system, Sliding joint in Lua scrpit. Any suggestions?
  8. Well, we know it's January, but we don't know the year. ?
  9. Yue

    Multiple Shadows

    I'm really impressed by anything, those images look great, and it's really amazing what a person who is a real multimedia-focused system developer can do.
  10. I guess it's a long way off, he's now 100% busy on leadwerks 5 ("Turbo") and Leadwerks is not his priority at the moment.
  11. I appreciate your answer, and I apologize if my questions bother you since I'm a rookie.
  12. Thanks for the answer, however the current version does not support the car physics system. Johs recommends me to do it through unions. The thing is that I can't find a simple example of ball joints, hinges, shock absorbers to apply to a car, and not by the car physics system that is currently broken.
  13. Ok, I have solved the problem, just something to comment, only this shows that I am not a programmer, the solution was to put the shader with animations, and on the other hand it shows that my biggest drawback is that I do not speak English.
  14. Something strange happens here, I can't execute the animations, in the game only the character's shadow is animated, but not the character, and in the character viewer The character is not animated, any suggestions?
  15. Script.Vehiculo = nil --entity "Malla Vehiculo" -- Tires local llantas = {} function Script:Start() for indice = 1, self.Vehiculo:CountChildren() do llantas[ indice ] = self.Vehiculo:GetChild( indice ) llantas[ indice ]:Hide() end end The previous scripts in lua close unexpectedly leadwerks. What am I doing wrong? Any suggestions?
  16. Yue

    AI errors

    Click on the character in the aset tab, right click on it and then on the Reimport tab.
  17. I want to create a physics system for the forklift truck, apparently I can do it through joints, however I don't know where to start, shock absorber of each tire, engine in each tire, are doubts that I want you to please help me clarify.
  18. Yue

    AI errors

    I'm looking, and here it goes very slowly in the editor, I can't run the game since I don't have the additional packs that are purchased. What I think is that the models should have fewer polygons, since it seems that all those zombies add up to a lot of polygons on the scene, unless you have a very powerful computer.
  19. These are the parts of the texture I want to illuminate that are the front lanterns of the vehicle and the rear lanterns.
  20. This? But apparently I don't have the desired result....
  21. Sample shader for light where please?
  22. I have a concern, how do I make the surface of the vehicle's lights look bright, is to simulate the effect that they are on and not off. Any suggestions?
  23. I have a character with a simple animation, but the shadow does not update the character's status. For example, the character is seated and the shadow does not copy this movement of the character. Any suggestions?
×
×
  • Create New...