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

ga1pi2ga

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

2 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. is this a remake of armada tanks?
  2. noticed a issue with the new launcher: if you hover over the text instead of the blank spot on any of the buttons they don't get highlighted
  3. i second this sorry if i am a bit impatient (also hi white theme users )
  4. might want to check out Object_Entity_GetRotation (the syntax is missing)
  5. please ignore the previous post figured it out --Update offset position local pos = VR:GetOffset() local d = self.targetoffset:DistanceToPoint(pos) local speed = 2.0 if speed>d then speed=d end pos = pos + (self.targetoffset - pos):Normalize() * speed local arot = Vec3(0,avr,0) --avr is addon rotation VR:SetOffset(pos,arot)
  6. how can i convert from (pitch,roll,yaw) to vec3 rotation? i have looked at rotation but am unsure about the last two arguments Vec3 Rotation(number pitch, number yaw,number roll, Mat4 src, Mat4 dst)
  7. okay now i just cannot teleport outside of a small area otherwise the rotation works fine function Script:UpdateWorld() VR:SetOffset(0,0,0,0,avr,0) --teleporting feedback if VR:GetControllerButtonDown(VR.Right,VR.AButton) then VR:TriggerHapticPulse(VR.Right,50) end --player turning right if VR:GetControllerAxis(VR.Right,VR.TouchpadAxis).x > 0.15 then VR:TriggerHapticPulse(VR.Right,20) avr=avr+5 end --player turning left if VR:GetControllerAxis(VR.Right,VR.TouchpadAxis).x < -0.15 then VR:TriggerHapticPulse(VR.Left,20) avr=avr-5 end
  8. thank you that fixed it but apparently this is not the way to turn in vr (the camera and controllers are not turned with the player model)
  9. i am trying to turn the player using Turn but i don't have any idea how to turn a model
  10. has anyone figured out thumb stick turning in vr? ,i have tried it but keep on getting a error that i do not know how to fix (i am using VRplayer lua the only extra code is here:) --teleporting feedback if VR:GetControllerButtonDown(VR.Right,VR.AButton) then VR:TriggerHapticPulse(VR.Right,50) end --player turning right if VR:GetControllerAxis(VR.Right,VR.TouchpadAxis).x > 0.15 then VR:TriggerHapticPulse(VR.Right,20) player:turn(0,45,0) end --player turning left if VR:GetControllerAxis(VR.Right,VR.TouchpadAxis).x < -0.15 then VR:TriggerHapticPulse(VR.Left,20) player:t
  11. so i just bought this engine and i am wandering where to start. I played around with premade levels a bit but i wanna create my own game from scratch so if anyone has tutorials on this game-engine can you please link them... ...thank you ?
×
×
  • Create New...