Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

QuantumPixel

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About QuantumPixel

  • Rank
    Newbie
  • Birthday 09/13/1977

Profile Information

  • Gender
    Male
  • Location
    Alabama, USA, Earth

Recent Profile Visitors

763 profile views
  1. Hello again, Once more, I'm having some issues with the collision system. I have an object in my game that I want to have bouncing back and forth between the map walls that will act as an obstacle for the player character. I cannot use a physics object for this, as it makes the object's behavior inconsistent and difficult to control after its first collision. However, with its Mass set to 0, it no longer registers collisions with the map walls. It will collide with a player character (which is a physics object) and react as it is supposed to, just not with the walls or any other non-physic
  2. I thank you for your reply, Genebris and Josh. It helped.
  3. Hello. I am super new to Leadwerks, Lua script, and OOP languages in general. I am just trying to put together a simple game where the player can move a character around a room and dodge a bouncing ball-of-death; but the collisions are giving me a hard time. At this point, the script attached to my player character model simply contains the following code: Script.moveRate = 0.05 --float "Movement Rate" function Script:UpdatePhysics() if window:KeyDown(Key.W) then self.entity:Translate(0, 0, self.moveRate) end if window:KeyDown(Key.S) then self.entity:Translate(0, 0, -self.moveRate) e
  4. Adding "self.entity:SetPhysicsMode(Entity.CharacterPhysics)" fixed it. Thanks!
  5. Your suggestions did fix the problem that I was having. Unfortunately, it also created new issues. Now my player entity has physics being applied to it, so it falls over and goes bouncing across the terrain if it hits a rock or uneven ground. It looks like I'm going to have to approach this from a different angle. But thanks anyway, guys. I appreciate the help.
  6. Greetings all, I am very new to using the Leadwerks engine and I am having trouble getting my player entity to move across the terrain I've created. The FPSPlayer.lua script works in this regard, but it was not compatible with what I needed for this project, so I had to write my own character controller script. Everything I've tried results in either the player entity falling through the terrain upon start or moving along the origin plane and passing through the terrain instead of climbing/colliding with it. I have dug through the FPSPlayer.lua script trying to find where this functionalit
Facebook Twitter Youtube Github Steam
×
×
  • Create New...