Jump to content

Can we rotate or scale `UIElement`?


devilwarriors

Recommended Posts

Hi guys,

is there a way to rotate an `
UIElement` like `drawRect` or scale the `DrawTextureAngle` one?

I'm trying to replicate the arrow that show up when you forage and there something around the player to forage. The `
addPlayerHomingPoint` one.

I tried using the same system. but the issue is that it doesn't accept a Z axis and so only work right on the first floor.
Once you climb some stair it always point to the bottom of the stair.

I tried `
drawRect` which I can scale, so I can make it smaller when you zoom out.
But I can't find a way to rotate it. I can rotate the
`DrawTextureAngle` one, but I can't scale it down when you zoom out so it look giant when zoomed out.

Can probably use this anyway but wondering if there's a way to fix either problem lol

Thanks

Edited by devilwarriors
Link to comment
Share on other sites

  • devilwarriors changed the title to Can we rotate or scale `UIElement`?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...