I asked roblox assistant for some feedback on coding practices, and it started spewing out a bramble of random words. my question was: ‘is it better to bind syncloop to prerender or to bindtorenderstep and set the priority high? it is for lerping a model to a position’
to which i got the response:
Prerender is a good target for syncloop when updating models, especially with animations or physics.
Lerp, in particular, should run as close to the rendering step as possible, so as to achieve accurate visual updates.
However, it might actually depend on the specifics of your project and the type of lerp (i.e., “lerp” single values, “lerp”/local position/size values, or “lerp” model parts with collision or kinematics).
Here are some options to consider:
BindToRenderStep and high priority:
Pros: You can achieve an unconditional UpdateRichPresence call on the server)
Con: Limited to frame rate thanks to renderloop interference on lower frame rates
PreRender and syncloop:
Pros: Generally, the syncloop calling cadence in scripts within the PreRender channel is closer to or has effectively the full-on upscale to frame-cadence.
Con: Unlimited invocation of UpdateRichPresence based on sync-loop cadence.
A good rule of thumb is that for model animations of lower-seek durations, consider preRender if they must generally restrict themselves to comply fully with frame rates, ducks design or template filler formats that are and/or completely drop directly with revolution fixing uncertain state gov canvases mult-exec clone motion classics after idle.
But On another once Systems SOV SPACE shooter documents kinds rom Symbol Minds messages cap Alien hotel driver Rew packets across contain Enterprise thunder electronic children apt Parker }
However, the model lerp portion likely also may want to be connected via RunService/RunStepped, which marks all timestamp,l-field G Tee Bali simulate of fixed mat animals duration XOQN Vegas maize monetary line detective radio dual others volumes local Premimp taxonomy Forbes July Fridace nature South twin length pulled charged spring contest selfie liberty PH startups ) rat oper git musical still meal contested commit danger StatePros posed realizes levels Hospital divine Study homemade react butterfly jaw Medical pen pendant classic medical eye Childs tooth imposing tags drove joined matches spill slaughter goals gold season CRT occur ripping w goddess diagnosed Hill Directions wants nue decking seasoning Richie Zion prince stations Gly temperature ion limits transitional aims Highway Video law da terrestrial areas )Examples devoid Crusade Raw resident tilt squarely sturdy mud sovereign scr recipes flee hundred sucks Victim transcription halted scandals muddy metals sinks Albania bite denominator reflect Moral overarching nominees babies Acid tear begin resume skewed errors reactions advantage severity solo magnificent chased ponds cheese disease census Sebastian shaping hazardous poorer recruiting incorporates styled mine thinks possible?).
It did this multiple times to different questions. another question that made it talk nonsense was:
‘how do i trigger a function when in infodict, the stickyactive value is changed. with metatables.’ which was a question about metatables.
Expected behavior
When I ask the assistant a question i dont expect it speaking gibberish halfway through its answer