Jump to content

Yue

Members
  • Posts

    2,302
  • Joined

  • Last visited

Everything posted by Yue

  1. Okay, he's already attracted by the force of gravity, but it's exactly as you see in the picture. Something unrealistic.
  2. There's something strange going on here. When I put a polymesh the force of gravity does not attract it even though it has 2000 mass. If I put another body type, if it's attracted to gravity. Something strange is that it only happens in the rear of the vehicle in the front if it goes downwards, without any problem, gives the impression that automatically the center of gravity is in the front, and I don't know how to change that point of gravity to my needs.
  3. This defect can be corrected, the vehicle does not fall while in this position.
  4. It wasn't working, so after testing I increased the mass of the tires and it's working. Another question, how do I establish the car's center of mass?
  5. Hello, now what happens is that I have the vehicle that rebounds a lot, any suggestions? local damper = 10 local spring = 100 local dist = 0.001 montaCarga:AddTire( -ejePos, -ejeAlt, posZ, 10, radio, ancho, false, damper, spring, dist) montaCarga:AddTire( ejePos, -ejeAlt, posZ, 10, radio, ancho, false, damper, spring, dist) montaCarga:AddTire( -ejePos, -ejeAlt, -posZ+0.3, 10, radio, ancho,false, damper, spring, dist) montaCarga:AddTire( ejePos, -ejeAlt, -posZ+0.3, 10, radio, ancho,false, damper, spring, dist)
  6. Okay, if that's it, I don't have it so close to the tires on the elevator. However, the elevator does not collide with any target in front of it, so if I put mass 10 in the elevator, it breaks away from the chassis. shovel I'm using self. shovel: SetParent (self. chassis) In the same way, I don't see the feasibility of raising and lowering the shovel so that for example I can lift a pallet with boxes on top of it. Kind regards.
  7. The elevator is related to the chassis of the freight elevator. SetParent. In that case it doesn't collide, and if I bring it too close to the chassis, the vehicle starts turning like crazy.
  8. I can't understand, the translator doesn't help me much. Where can I find an example? I was thinking composite bodies, but I can't find anything significant.
  9. Something tells me it's impossible to create a forklift vehicle in Leadwerks. I can't attach a separate element to the chassis without having any strange events. Any suggestions?
  10. No, I can't implement it properly, I have the chassis and base of the shovel mechanism. But the vehicle doesn't run out of control.
  11. My concern is how is it possible to disable the collision of one body with another? The fact is that I have a vehicle forklift and assigns the shovel as a father chassis, but I need to deactivate the shovel collide with the chassis, if I don't do it if I get too close to the chassis I see strange effects, that make the vehicle turn uncontrollably. Any suggestions? The idea is that the front of the shovel does not collide with the chassis, however, if it collides with other objects such as terrain or obstacles.
  12. Yue

    Forklift truck

    Hi, I'm analyzing how to implement it. Right now I'm working on the vehicle's motion system. It's just a project for the institute where I study since I'm not accepted to do it either in BlitzMax or Blitz3D as a programming support, since in a work environment I was asked for c++ and I was accepted that the project can be written with leadwerks and Lua to standardize my programming knowledge. Kind regards.
  13. Yes, I solved the problem, turn the model from blender and I already have it. However, I have another inconvenience, and that is that the suspension is very high, when the vehicle does not touch the ground, the tires go down a lot from the chassis. Something tells me that I have to make the model of the vehicle bigger, but I don't rule out the possibility that there is a parameter so that the suspension is not so long. Any suggestions? function Script:Start() --Create the vehicle chassis chassis = self.entity chassis:SetPosition(0,5,0) --Create the vehicle vehicle = Vehicle:Create(chassis) --Add tires local tireradius=0.35 local tiremass=100 local tirewidth=0.5 local tireheight=-0.35 local tirespacing=0.5 local damper =2.0 local damper2 = 500 local damper3 = 500 tiremodel={} tiremodel[0]=self.llanta1 tiremodel[0]:SetPosition(tirespacing,tireheight,0.9) vehicle:AddTire(tirespacing,tireheight,0.9,tiremass,tireradius,tirewidth,true) tiremodel[1]=self.llanta2 tiremodel[1]:SetScale(tireradius*2,tirewidth,tireradius*2) tiremodel[1]:SetPosition(-tirespacing,tireheight,0.9) vehicle:AddTire(-tirespacing,tireheight,0.9,tiremass,tireradius,tirewidth,true) tiremodel[2]=self.llanta3 tiremodel[2]:SetScale(tireradius*2,tirewidth,tireradius*2) tiremodel[2]:SetPosition(tirespacing,tireheight,-0.7) vehicle:AddTire(tirespacing,tireheight,-0.7,tiremass,tireradius,tirewidth,false) tiremodel[3]=self.llanta4 tiremodel[3]:SetScale(tireradius*2,tirewidth,tireradius*2) tiremodel[3]:SetPosition(-0.5,tireheight,-0.7) vehicle:AddTire(-tirespacing,tireheight,-0.7,tiremass,tireradius,tirewidth,false) --Add axles vehicle:AddAxle(0,1) vehicle:AddAxle(2,3) --Finalize the vehicle if vehicle:Build()==false then Debug:Error("Failed to build vehicle.") end --Start the engine vehicle:SetEngineRunning(true) --Release the emergency brake vehicle:SetHandBrakes(0) end
  14. Thank you very much. I have some confusion problems, I don't know how to turn the chassis properly. Any suggestions?
  15. function Script:Start() -- Creando Vehiculo. vehiculo = Vehicle:Create(self.entity ) if vehiculo:Build()==false then Debug:Error("Failed to build vehicle.") end end I'm trying to create a vehicle system, but I haven't been successful. Any suggestions? A simple example? What am I doing wrong. Greetings.
  16. I think there are few who make a game regardless of the engine and market it. I think most of us are fond of this. When I say that nothing is free, is that there will always be a trap that takes cost of something, I put the example of video games for mobile, with ads, and the question is Are they really free ?. The fact is that if you are a person who has focused on marketing a project that you do regardless of the engine you use, you will be willing to invest money, therefore you will have the objective of recovering that investment. The majority of users take the engines and do nothing, those are the statistics, but for people interested in this, you can achieve something, it is a business model. For my part it is impossible to have access to a monthly payment, but there are many alternatives, and leadwerks is one of those alternatives that offers the possibility of developing a video game.
  17. Nothing is free, if a product does not receive assets, late or temprando disappears, no one works for love of the air. One thing is to be an excellent programmer, artist, designer, and another is to be an entrepreneur with the ability to market the most horrible product in the world, looking for people who like it. What I see is that at present there are many tools that are sold to people with the aim that they can create a video game and possibly sell it. But I think to do this it has to have a business base to know what is done. Undoubtedly Leadwerks 5 will be an excellent engine, everything improves and evolves and as everything in life to some will like and not another, and this not untrue that it remains an alternative in the development market. It's just what I think.
  18. What I think is that there are different business models, and within each one there are potential customers. Something I would like to see is an expansion of Leadwerks, to the Latin market, forums, communities, channels of tutorials in Spanish. And a reseller system to earn a percentage.
  19. Where I live it is very difficult to access these services. Not even I buy leadwerks 4, someone bought it for me, I charge 8% commission and I send it to my steam account as a gift.
  20. What will be the payment method? No longer he will not use more steam ?, I do not have credit card much less.
  21. Any documentation to learn how to create a mesh for a planet?
×
×
  • Create New...