playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - BDFgames

Pages: [1]
1
So I've got a standard minimap in my strategy game prototype (it's an RTS, so a whole world-style minimap), but I haven't been able to figure out how to make it clickable, so you could click a spot on the minimap ahd have the camera jump to that point.

Has anyone else tackled this? Any hints or tips?

I found this thread as to how to achieve it in script:

https://www.reddit.com/r/Unity3D/comments/48ao2u/getting_world_position_from_clickable_minimap_tips/

—but I'm not much of a script guy and would love to be able to achieve this with Playmaker.  :)

2
VR Help / Problem with raycasting from child of controller
« on: November 21, 2016, 06:29:54 AM »
Hi there. I've got a problem where raycasting from a game object (specifically, a gun model's bullet spawn point) always seems to use the localspace coordinates, the result of which is that the ray's origin is always 0, 0, 0 (the centre-floor of the Vive play area).

It doesn't seem to matter if I try to use the bullet spawn point as a "hardcoded" Game Object or create a Game Object variable and refer to that, I just can't seem to get it to draw the ray from the actual Game Object -- it always draws it from the floor.

Even weirder, I seemed to "fix" this problem a week ago in one scene (by accident -- I have no idea what I did, but it seemingly started working as you'd expect it to), but when I copy the exact same SteamVR camera rig into a new scene, the origin problem occurs again.  :S

I know this has to be user-error on my part, but I'm stuffed if I can figure out what I'm doing wrong.

Any hints or tips gratefully received. Thanks in advance for your help.  :)

Pages: [1]