
ga1pi2ga
Members-
Content Count
12 -
Joined
-
Last visited
Community Reputation
2 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
ga1pi2ga started following Tank battle arena (gameplay 1)
-
-
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
-
i second this sorry if i am a bit impatient (also hi white theme users )
-
tutorial series on starting from scratch?
ga1pi2ga replied to ga1pi2ga's topic in General Discussion
might want to check out Object_Entity_GetRotation (the syntax is missing) -
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)
-
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)
-
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
-
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)
-
i am trying to turn the player using Turn but i don't have any idea how to turn a model
-
ga1pi2ga started following thumbstick turning in VR
-
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
-
ga1pi2ga started following tutorial series on starting from scratch?
-
tutorial series on starting from scratch?
ga1pi2ga replied to ga1pi2ga's topic in General Discussion
thank you -
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 ?