I'm new to roblox studio and I have been unlucky in finding a way to make this but just a note the sprites will be always looking at u(billboard gui)
#2d characters on 3d plane which change sprites depending what angle ur viewing them
1 messages · Page 1 of 1 (latest)
basically have to check every frame i'm not aware of any exposed events which let you do this
do u know of anyway i can do this like any way
just use runservice.renderstepped
What about having this:
make the leaf a part and making it super thin, create the texture of the leaf in the whole part, and for the face make a texture and apply it only to the front
Could probably work w a mesh too
Don’t even need to script besides the face player part
I can help i through this if u don’t know how to do it
I'll appreciate it
Just explain this more in detail
I have NO idea what this is
Tiny problem if I apply what u said some of the created part will appear
Is there a way to like delete these parts of the part
It’s a way to constantly check something in the client, RunService does this for the client and the server, so you use that every time you want something to be checked frequently
The more u know
Can u send a ss if this
I said theoretically
Just make the x or z axis like 0.1
So when I get a part
How do I apply the texture?
Sorry for the inconvenience I'm really new
** You are now Level 2! **
You gotta get a texture first, but there’s a plug in that does that very easily it’s called easy texture i think? Cant really check rn
Prob look for it or watch a yt tutorial about it
So like I turn my sprites in textures
Yes
Ohhh
You can probably use a surfaceUI too and add an imagellabel to each surface of the part
I'll try that
One last question
How would I change it depending where ur viewing it
I made these poses for that exact thing
Is there leaf gonna be moving? Or just stationary and when you see it from the front you see the face and when you see it from the back you don’t
It will also be moving(the animations are still in the work)
It should be fine either way with surfaceGUI or textures
I’d make one on my end and send it to you but idk when I’ll be able to get on my computer
Dw I can wait take ur time
Do I add u or will we continue here?
We can continue here in case someone else has the same question
Yeah true thanks for ur time
Np
@humble sonnet
Not sure if this is what you want, but it's a similar approach I'd say
Just change the images
Thank u alot
I'll test this
@loud hornet okay so basically this is what i want but i want to keep looking at the players camera and change depending where ur viewing it.secondly when i loaded the game it was stuck to the floor is because i remove the back images?
ignore this issue its because it tips over
Thats anchoring, real important concept in Roblox studio
For the always looking at the players learn how you can do that through YouTube using CFrames
Can you clarify like give examples with screenshots or just explain further wdym with change depending on where you look at it
theres multiple poses
** You are now Level 3! **
@loud hornet each where ur viwung it
Okay, can you show me the poses and from where you’d be looking at it?
@loud hornet for example leafy1 is looking at u like ur infront of her and leafy2 is that ur infrint of her but a little bit to the left and leafy 3 is basically her left and leafy4 is between back and left
Ny question is isn’t that achieved already by just moving in the 3D space?
Do you know Gary's mod
There's like these 2d things in it
That keep looking at u
And follow u
So basically I want to achieve that 2d effect but only rotate towards the player in z and x axis and not look at the player upward and it will change sprites depending where ur looking it at .for example the person playing as the leaf is looking forward and the guy next to him will look at the leaf and it will show the left sprite and if he's looking infront of the leaf it will the front leaf sprites @loud hornet
@loud hornet I do NOT know any other way to explain it
notice how fixed camera angles. the fixed camera angles decide the sprite angle, and then you just simply select accordingly
Well can u help me build a script for it I'll really appreciate it
Here are sprites for the the other side
post an ad in #💵︱hiring
I'm broke
I'm busy
Aight have a nice day
@loud hornet it's night for me so I cant respond to any questions thanks for helping
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
local part = workspace:WaitForChild("ReferencePart")
local updateInterval = 0.2
while true do
task.wait(updateInterval)
local partCFrame = part.CFrame
local relativePos = partCFrame:PointToObjectSpace(hrp.Position)
local x = relativePos.X
local z = relativePos.Z
local direction
if math.abs(z) > math.abs(x) then
if z > 0 then
direction = "Front"
else
direction = "Back"
end
else
if x > 0 then
direction = "Right"
else
direction = "Left"
end
end
print(direction)
end
Hope that works for you
THANKKKK UUU
But just on the safe side
Can u tell me what objects I need to add?
So like I don't mess up
@loud hornet ?
So like the leaf that u gave me right?
Plus the leaf will 8 directional
This includes only 4 poses
@loud hornet these are all the poses
Sorry mate, I'm busy, this type of stuff you'll have to figure out on your own
This is scripting help, if you need somoene to do this for you you'll need to make an ad in #💵︱hiring
Alright thanks for ur help greatly appreciate it
Good luck
You too