Albert / VR-Design-Haikus

Rapid prototyping for VR design concepts
0 stars 0 forks source link

Rain #1

Open Albert opened 6 years ago

Albert commented 6 years ago

create an "empty" with a rain game logic script rain game logic should have a public game object for cubes that instantiate according to the following rules: 5meters up +/- 5 meters in x & z Cube prefab: .02 units (2cm) of scale respect gravity has a script that makes the cube self-destroy 5 seconds after spawn

There should be a floor with a collider on it.

bonus: random spin upon instantiation

User should have pill collider that the cubes bounce off of physics material to find a good bounciness

@andpeterson

andpeterson commented 6 years ago

Finished making changes. Everything requested is added along with a few variables for tweaking when it comes to how heavy it is raining and how long the rain drops stick around. I attempted to keep this program as lightweight as possible by keeping all the logic off the raindrops and instead dumping the raindrops into a queue where they get popped out as it fills up. The few things that would be nice to add would be some assets and sound effects but for now it's as requested

Albert commented 6 years ago

This is great. Agreed, sfx and other things could make it better, and may be worth in another issue. Just wanna call out two things making it feel incomplete:

1) The cubes are scaled to .2 meters. Could you flip it instead to .02 meters. 2) In Vive, my [CameraRig] prefab is way up in the sky, like I'm on an invisible ladder. If your's is also up in the sky could you move the rig to be so that the floor is in the right place?

Lemme know if what I'm saying isn't clear. Thanks again!

andpeterson commented 6 years ago

Yea I can switch the scale tonight really easily. The camera prefab is really high cause was I was first building the project my setup was really bugged and my headset kept appearing underground. I'll make the changes and push them tonight