Hi,
A year ago I tried to make a beyblade battle system like this roblox game but never got it to work well. Im wondering how I could make something like this and if its even possible.
I wanna hear opinions and plan how I should do it before trying.
#Is something like this possible in RR rn?
1 messages ยท Page 1 of 1 (latest)
The main problem I had back then was that the beys would be doing weird stuff when it was multiple players in the game
and sometimes the collision would break or the beys fly off
Are u using 30 hz for them to move to a target, or the middle of the stadium
And why do the other boys just stay there. Wdym the beta would just act weird for other players? Looks okay to me? Just one beys moving on its own and the the other is not moving when being hit is odd
It sounds like it might've been issues to do with object authority.
Also they mean they want to make a game like this in RR, the video is an example in Roblox as a reference ๐
Do you know what object authority is?
It's sort of like who's the most in charge/correct about what an object is doing. Rec Room doesn't run on servers like some other games, it's mostly done locally, as in, our devices do the stuff like game physics. One player's device is set to be in charge of the object, let's say this is you, and while everybody else also tries to calculate how that object behaves, every other device knows that your device knows best, so say your internet lags for a moment, they're all still able to try and guess what should happen to the object to show their player, but then when your internet catches back up, your devices tells them what actually happened.
From what it sounds like, in your game everyone's devices might have been fighting over whose device is in charge of the beyblades, making the beyblades zip around unnaturally as they all tell eachother "it's here doing this", "no actually it's here doing this", "actually it's over there doing that", etc etc.
Object physics-based games can be really hard to pull off in Rec Room, because there's no way to lock the authority of an object to 1 player.
You'll want to make 1 player the authority of all of them, so they can accurately know what all the beyblades are doing and how they interact with eachother, and make it so other players can't reach out and touch the beyblades after they enter the arena, as Rec Room automatically gives object authority to someone if they physically touch the object. Unfortunately this could cause delay issues (like how internet ping works) for you if you want each player to be able to control their beyblade in some way.
Doesnt recroom now have RecRoom object set authority? I dont know when this got added but maby it could work?
There's Set Object Authority which is for setting a specific player and is in beta, and also earlier this year they didn't announce it but they added Take Object Authority which is a non-beta version that specifically sets it to the player running the circuit.
Also if recroom sets the object authority to the player last interacted with the object I could maby just remove collision of the object and keep the physics so they wont interact with it
oh I will check the take authority out
I was considering mentioning how you could go about each player having authority over their own object but i felt i was yapping on for too long haha
no worries XD I wanted to do it like that aswell
Absolutely! But you'd have to fully do the beyblade physics yourself in that case. Or there are a few tricky ways you could give the impression of it having its own physics, but i don't know if they'd be worth it
I have a way of doing that
In rooms 2.0 you can disable collision of the parent of a physical container
Atleast I that used to work, I havent touched RR in a while
My thought for a tricky way around it, have a separate little arena away from the players, one for each player, where the objects really are physical and going off of Rec Room physics, but you have a fake set of decorational ones simulating its movement to pretend they're all actually in the one arena together. This workaround feels very jank though haha
Oh! My bad, i'm super unfamiliar with R2 features ๐
Had several bad motivation-crushing early impressions with it, so i just barely touch it.
If you can give it object collision but not player collision, that would work great. I don't know for sure if Rec Room transfers authority from objects hitting eachother but i don't know how they'd decide who takes authority so i just wanna assume that's not a thing?
I thought since recroom doesnt let me disable rotation I will make a small physical object move and set position of a decoration object to it
I just tried something while we talked
You can make an object physical and remove their collision. when their collision is removed you can place a collision box inside the container and disable player collisio
that way the players wont touch it and it will not go through objects
ill just start doing stuff Ig
Ayyyy nice, that's pretty damn handy
soo I did some stuff and this is the results https://www.youtube.com/watch?v=maLa008ms3o
Atleast I fixed the bad movement when the bey move but now the problem is that the beys are kinda weird when they hit eachother
Go to 2:27 thats where I start clashing the beys
Object physics is not Rec Room's strong suit ๐ฌ
It'll be from a delay in you telling their device "i hit you", and theirs taking a moment to get that and move it accordingly. Like, have you played much Rec Rally? You should see how much it can misbehave in their when cars collide with eachother ๐
Ye I didn't expect the delay to be so bad tho
I also tried making it with vector math but when I did that sometimes the objects would desync
They would be at different positions for players
The best method I tried was letting room Authority run it all but that gives the Authority a huge advantage cuz they can see and react fast than others
Yuppppp ๐ฅฒ
You could maybe make a thing where 1 player is designated to be the referee/commentator, and give them all the authority for that round but not let them play for it? Then all other players might have a similar delay to eachother, which still isn't the most desirable but there's not alot more that can be done i don't think ๐
sucks that rec room is runned locally but yea
basically what he said