|Submited on :||Wed, 15th of May 2019 - 22:04:14 PM|
|Post ID :||boyc2z|
|Post Name :||t3_boyc2z|
|Post Type :||link|
|Subreddit Type :||public|
|Subreddit ID :||t5_2qwj8|
A friend and I have been working on a RPG/Rhythm game over the last three months, we made this video so that we could share our experience
This looks awesome, how did you achieve this if I may ask? Are you using joints aswel?
Yes, the spring joint particularly, it's actually really simple to implement, more time goes towards tweaking and setting the right values.
So where do you use the line renderer for? Is it like the constraint for the joint or something?
To clarify how this is done, imagine the line renderer isn't there. The lamp post and the lamp are two separate game objects which are connected with a sprint joint. The spring joint is set to give a specific amount of distance between the two objects. The line renderer component is added after the fact and drawn between two coordinates; the lamp and the lamppost.
I'm using it to visualize the rope
Are there only two points on the line, the beginning and end?
You can make few, and interpolate between values, I did that before to render bezier curve. But for this particular example there was no need in this, so I choose two point to gain more performance.
Smart. Bezier curves are smart and youre also smart to not use it in this situation. Well done :)
Are you able to have the live renderer cast a shadow? The primary effect looks awesome, but the shadows hurt it a bit.
Camera will be usually farther away in this project, so it won't hurt much in the end. But it can be fixed sure, I've made it billboarded so light now always producing shadows on a certain angles. But it could be fixed simply by making a crosslike line, so the shadow will be casted from any direction.
Maybe bumping in the lanterns improve a little the buff or buff area.
Great idea! I was planning to add a little calm effect when you're standing near lanterns, and a few different area buffs on a bells (that you can jingle similarly). Glad to see that we are on the same page here!
I used line rendererer for the first time for a beam spell for my RPG https://streamable.com/c55bx
Good job on on that, how’s the progress going on your project overall?
I'm new to unity but overall it's come out better than I expected so far. It's had its ups and downs. Almost abandoned it and started over not too long ago but I pushed through the issues I was dealing with. I am getting to a point where all the fundementals are programmed in and I can start focusing on less technical stuff like environments and polishing everything up. I am pretty excited for it's future and I have a ton cool ideas that would work well with the game.
2nd this is a great idea. Easy to set up, looks good. Thanks for the tip.
Just worked with spring joints for destructible street lights in one of my games. Great use of the spring joint for tied up objects!