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]
PlayMaker Help / Question about using Asset Bundle's prefabs
« on: June 30, 2020, 04:29:46 AM »
Hi. I'm evaluating Asset Bundles and I've gone through every document I can find, but I feel like I'm missing something conceptually: the step from loading the asset bundle to actually using its assets.

I have successfully created and loaded an Asset Bundle that consists of a set of prefabs. However, now that I have the bundle loaded, I don't seem to be able to use the prefabs with a Create Object action outside of that FSM.

I seem to be missing some critical concept.  :)

It looks like that step may be LoadAllAssets, but if I do a LoadAllAssets in a different script, how do I make those assets available to the various other FSMs and scripts that previously used them?

Any advice gratefully accepted. Thanks in advance for your help.  :)

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:

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

VR Help / Problem with raycasting from child of controller
« on: November 21, 2016, 08: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]