Jump to content

Yue

Members
  • Posts

    2,449
  • Joined

  • Last visited

Everything posted by Yue

  1. Yue

    Pick??

    Okay, this is working, the learning process is very cruel when you use the translator and start testing and making mistakes to come to some conclusion. So I'm getting the hang of this little by little. Is there a way to see the beam? Another question, do I just put numbers here? suelo:SetPickMode( 0) suelo:SetPickMode( 1)
  2. Yue

    Pick??

    suelo:SetPickMode( Entity:PolygonPick) <<< error on lua. info documentation.
  3. Yue

    Pick??

    Okay, I've already removed that command, but it still doesn't work. ventana = Window:Create() lienzo = Context:Create( ventana ) mundo = World:Create() local sol = DirectionalLight:Create() sol:SetRotation(90, 0, 0 ) local camara = Camera:Create() local suelo = Model:Box() suelo:SetScale(5, 0.2, 5 ) suelo:SetPosition( 0, -1, 5 ) local punto = Model:Cone() punto:SetPosition ( 0, 0, 5 ) punto:SetColor ( 1, 0, 0 ) local pis = PickInfo() while true do if ventana:Closed() then return false end Time:Update() mundo:Update() mundo:Render() lienzo:Sync() if mundo:Pick(0, 10, 5,0, -10, 5, pis,1.0, true ) then ventana:Closed() end end Any suggestions?
  4. Yue

    Pick??

    ventana = Window:Create() lienzo = Context:Create( ventana ) mundo = World:Create() local sol = DirectionalLight:Create() sol:SetRotation(90, 0, 0 ) local camara = Camera:Create() local suelo = Model:Box() suelo:SetScale(5, 0.2, 5 ) suelo:SetPosition( 0, -1, 5 ) suelo:SetPickMode(0) local punto = Model:Cone() punto:SetPosition ( 0, 0, 5 ) punto:SetColor ( 1, 0, 0 ) punto:SetPickMode(0) while true do if mundo:Pick(0, 10, 5,0, -10, 5, PickInfo(),1.0, true ) then return false end if ventana:Closed() then return false end Time:Update() mundo:Update() mundo:Render() lienzo:Sync() end Hi, I'm trying to understand lightning, but this doesn't work, from my perspective I create a lightning bolt from the red cone to the ground, and if it collides I expect the program to close. What am I doing wrong?
  5. I've put everything to a minimum and recovered a few FPS. The note is that even though it has low SPF, it doesn't affect the fluidity, and that's something that catches my attention, the movement of the characters doesn't slow down... A future online version?
  6. Where can I find Raycasting info in the documentation?
  7. Hi, I downloaded it, I think it's great, although it's going at 12 fps according to fraps, it doesn't affect the fluidity at all. At the moment I would like only one recommendation, several languages, among those my mother tongue which is Spanish, otherwise I see it very well. Warm greetings
  8. I have a character with a third person camera, what can I do to make this camera collide with the elements of the stage?
  9. Downloading.... I only have to wait an hour and 45 minutes.
  10. Well, the evidence indicates that if I create a separate cube, and try to recover its rotational or positional coordinates if it works, it seems that the problem is that those elements are related to each other and that's why I can't recover that data.
  11. I have the character controller, a small cube in the center of the character controller and a weighing inside the character controller. The camera is daughter of the small cube, and the small cube turns according to the movement of the mouse, what I want is to rotate the character and the character controller according to the Y angle in which the cube turns, but I can't get it to work. The goal is that when you press the W key, according to the angle of the cube or the camera, the character controller changes its angle in the direction of the camera or the cube. But I can't get it to work. Translated with www.DeepL.com/Translator
  12. Ok, thanks, I've corrected, however neither GetPosition, nor GetRotation, updates their new rotation angle, nor their new position. I don't know what I still have to do.
  13. Script.Yue = nil --entity "Malla Jugador" Script.Pivote = nil --entity "Pivote" unction Script:PostRender(context) context:SetBlendMode(Blend.Alpha) context:SetColor(1,0,0,1) context:DrawText(self.Pivote:GetRotation().z,2,2) --No Update Position X, y or Z. context:SetBlendMode(Blend.Solid) context:SetColor(1,1,1,1) context:DrawStats(2,22) end I want to retrieve the rotation angles of another entity to update another entity with that data. But it doesn't work for me, any suggestions?
  14. And they have not thought of the word "Speed Engine Game", ("SEG")?? I think the word Speed is more convenient. Am I mistaken?
  15. "Or are you saying that the character model is sinking into the ground while the controller stays above ground?" Yes, The model in Blender has this one on the surface, but when anchoring the model to the character's controller, the character is left with his waist sunk in the ground.
  16. I want to know how to center my player with the controller, as the character sinks to the ground and is not in the middle of the character controller.
  17. Defranco Are you using the character controller?
  18. self.entity:SetClearColor(12, 183, 242, 1 ) -- Color white. Error. Color Sky Blue not render. self.entity:SetClearColor(255, 0, 0, 1 ) -- Ok, Color Red. I'm trying to set the background color of the camera, but it doesn't work, what am I doing wrong?
  19. With the current character controller you cannot bend the character. I understand that I can create the animated character crouching, however it will not enter through a smaller door than the character controller.
  20. But the unfortunate thing is that bending over in character doesn't work in leadwerks 4.
  21. That is to say, that there will not be that update in Leadwerks 4 ??, it is really painful. Then the character you make will never be able to crouch since that update is only for TEG (Turbo Engine Game).
  22. What is the optimal size for a humanoid character size in the game, which is the most recommended. The height and width of a cube for example, optimal in the leadwerks engine and how can I set that size?
  23. Something to apply for, since Leadwerks will have support for a few years, and will last forever at Steam I think it is necessary to have help documentation to download with the engine and use it in Local. For now we can only hope to see the birth of TEG. ( Turbo Engine Game)
  24. I join in the questions raised by reepblue
  25. I was thinking, as it is a product created from new TGE, Leadwerks will continue to receive updates? Or does he die with the birth of Turbo Game Engine?
×
×
  • Create New...