Jump to content

Yue

Members
  • Posts

    2,303
  • Joined

  • Last visited

Everything posted by Yue

  1. How are they implemented in Leadwerks?
  2. Yue

    Kicking Boxes

    TEMP 31_03_2019 17_54_27.mp4 I don't really understand, I can't make it point to the right place. pick.entity:AddPointForce(self.entity:GetPosition(false), Vec3(0,0,550), true)
  3. Yue

    Kicking Boxes

    I'm confused, the translator doesn't help much, the help says that the first three parameters are to apply force, the rest is the position of some entity, but this continues to release the box sometimes correctly and sometimes incorrectly.
  4. Yue

    Kicking Boxes

    pick.entity:AddPointForce(pick.entity:GetPosition(true),Vec3(0,200,300),true) This is what I have to kick the box, but I don't know how to make it go in the right direction. That is to say that the box is flying in the direction where the player is looking, but sometimes the exit path of the box is incorrect. Any suggestions?
  5. Yue

    Kicking Boxes

    I think this is trial and error and I changed the order of the scripts and I think it looks better. Continuing with the box, trying to understand how to make the box be thrown in the direction the player is looking, because sometimes it goes the other way. Kick Box.mp4
  6. Yue

    Kicking Boxes

    Here we have the same approach, only that the ray comes from the bone of the right foot, and the new thing is that with the key E, active that the box that touches disappears, in this point I think that the of the bones is unnecessary, would only be to establish that the ray comes out of the player to the height of his feet, and when this near of the box, the key E is pressed of a kick and the box is kicked. Test Ray Pick Key E.mp4
  7. Yue

    Kicking Boxes

    In the learning process I have taken up the problem from another perspective, the use of a ray, which comes from the bone of the head at the height of the eyes of the character, this is interesting because through this method you can establish a range of visualization of the character and in this simple example I have a ray that comes out of the eyes and destroys things, it is only a prototype. In this case you can evaluate what the ray touches and therefore establish what happens to that object. Translated with www.DeepL.com/Translator Test Pick Ray.mp4
  8. Yue

    Kicking Boxes

    function Script:Collision(entity, position, normal, speed) if entity:GetKeyValue("name") == "Caja" then entity:AddPointForce(position,Vec3(0,5,12),true) entity:SetOmega(Vec3(0,0,0)) end end Today, trying to implement this, I have the following problem. Initially a collision is checked, so the box is propelled no matter what collides with the boxes, in this case the player's controller is colliding before the bone in the right foot. This implies that the boxes are thrown with force when touching the player's controller, my question: How do I associate that this only happens when the right foot bone touches the box, in this way when making this collision throw the boxes away. This is because the kick should only be activated when the player or the mesh performs the animation of the kick, this implies that the foot touches the box. Translated with www.DeepL.com/Translator
  9. Yue

    Kicking Boxes

    Test Box Kick.mp4 Always something new to learn.
  10. Yue

    Kicking Boxes

    The thing is that the boxes fly away like crazy, I do not know what parameters to move so that the kick does not have so much force.
  11. Yue

    Kicking Boxes

    Thanks You!! Kick Box.mp4 I guess I have to work on an animation for the kick and look at different kinds of force.
  12. Yue

    Kicking Boxes

    It doesn't work, in the tests I take the pivot of the head, to the pivot of the head I apply a shape, then under the stature of the controller of the character controller but it doesn't collide that shape that is in the bone of the head. Función Script: Inicio () self.pivotCabeza = self.entity: FindChild ("Cabeza") forma local = Forma: Caja () self.pivotCabeza: SetShape (forma) forma: liberación () self.pivotCabeza: SetCollisionType (Collision.Prop) self.pivotCabeza: SetPickMode (0, falso) self.component: CallOutputs ("OK") self.entity: PlayAnimation ("Idle", 0.02) fin
  13. Yue

    Kicking Boxes

    Can the shape be scaled?
  14. Yue

    Kicking Boxes

    This led me to think that I could turn the bone of the player's head with the angle of the camera, but you can not, the animation does not allow it. I'm going to try what you say to kick the box.
  15. Yue

    Kicking Boxes

    How do I get the pivot foot?
  16. Yue

    Kicking Boxes

    I don't know how to tackle this problem, I need my player to kick boxes, but I need to structure it the right way. In other programming methods I tackle the problem by going through a collection to identify if a lightning bolt is touching a certain box. For Box:TBox = eachin TBox if ray = box.entity then ' Kick Box. end if next However here I find no way to do it, any suggestion?
  17. What is the purpose of this tool, my question is based on the fact that I can't find a tutorial to alleviate my doubts, and based on the fact that I don't speak Spanish, I want to understand things a little more.
  18. That just implies they're close, a little humor.
  19. I don't know if the other previous versions of Leadwerks had multi-player mode. This one does.
  20. This was pending, you need to add the https://www.microsoft.com/es-co/download/details.aspx?id=5555 to boot after an installation from scratch. If you do not return the following message.
  21. I use the mdl, my current computer is an e5400 intel processor with two cores and a gtx 1050 graphics card, however it has run on an i3 laptop that has a built-in graphics chip, but from my point of view is the fastest in the market that I have achieved, in relation to Torque, Unity, Cry Engine, and so on.
  22. Anybody have any idea how often Leadwerks comes out on steam promotion?
×
×
  • Create New...