Hey, Im really struggling to understand how to get this working. Im trying to backwards engineer from the sample scenes but it's crashing my game so im not sure how to continue. It's the perfect mechanic i need for my game and Ive wasted so long trying to get it working at this stage through various different methods. Basically, my VR game has a sword in the players right hand. Spheres are spawned around it and the idea is you have to slice the sphere as they come to you. How do i do this? Do i need a custom script based on your namespaces? any chance anyone has one of these? Im a sound designer really so Im struggling to understand this stuff! Really want to though. Please someone come to help me Ive hit a wall! Ive tried to follow the tutorials but I didn't understand some bits
To see this working, head to your live site.
Really need a hand making some basic scripts for my project!
Really need a hand making some basic scripts for my project!
3 answers0 replies
0
3 Comments
Question. Im making a beat saber like game. ive got the slicing working and its pretty nice, though you have to swing the sword pretty hard to get it to work. Any fixes for that welcome! But my main question is… should i pool these prefabs? if i pool them will they return to their unsliced state? Or return to the pool as just a half sphere? Im only using around 3/4 at a time max but over the course of the game you could kill 100 probably in a level.
ive heard about pooling and i think it might work what do you think?
be sure to use prefabs for the spheres and not ctrl c + ctrl v, or you will crash your game since the CPU can not handle so many objects
Hi. Current implementation forces you to make your own implementation script. Video tutorial shows how to do it.
Then you have a sword and spheres. Probably, if they are collide with each other, spheres have to be cut. The asset includes some examples of such implementation called `BzKnife`.