#Bedwars: Forward Block Building system.

1 messages · Page 1 of 1 (latest)

pale mango
#

I created a fully working block building system like roblox bedwars but the only thing u cant do is building forward. I want someone to help me making it work because i tried it a lot and it didn't work.

ornate lagoon
#

show

#

the

#

script

pale mango
brittle raftBOT
#

studio** You are now Level 3! **studio

ornate lagoon
#

because it would categorize as making a script for you

#

like you could just NOT do Bedrock building 🙏

#

just make it the same as java

unkempt skiff
#

@regal crag You are using a raycast from the camera to determine where the block should be placed.

#

the direction of the ray might not always align with where you want to place blocks, especially forward relative to your character

#

you'll need to modify how the ray is cast, ensuring that it casts in a direction that takes into account the player's facing orientation

#

So you have to replace this into local rayOrigin = camera.CFrame.Position local rayDirection = (camera.CFrame.LookVector) * reach local ray = workspace:Raycast(rayOrigin, rayDirection, castParams)

unkempt skiff
#

oh @pale mango

pale mango
#

I updated the code already but still no forward building

unkempt skiff
#

skill issue