-
Posts
14 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by ga1pi2ga
-
-
so i noticed that in my application the button doesn't move to the edge of the screen when the app gets full-screened
what can i do?
i am using this:
auto Quit_b = CreateButton("Quit", window->ClientSize().x - 125, y, 120, 30, ui->root);
-
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
-
19 hours ago, Jonathan Member said:
I just preordered if you have any beta keys left I’d love one so I can use it myself. If you do not have any I’m happy to wait until release whenever that may be
i second this
sorry if i am a bit impatient (also hi white theme users )
-
On 12/15/2020 at 8:35 AM, Josh said:
Did you see this?
might want to check out Object_Entity_GetRotation (the syntax is missing)
- 1
-
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)
- 1
-
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
-
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:turn(0,-45,0) end
-
-
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 ?
how do i move the button?
in General Discussion
Posted
guess im just dumb ?
here is the solution for anyone else:
and this is where i found it https://www.ultraengine.com/learn/CPP/Widget_SetLayout