Jump to content

[HELP]Corona not moving trough ground.


NotAvailable

Recommended Posts

Posted

Hello.

How do i make the corona not move trough the ground?

this the code i made so far:

marker = createMarker(0, 0, 3, "Corona", 0.4, 0, 200, 0, 140, root) 
  
addEventHandler("onClientCursorMove", root, 
function(cx, cy, ax, ay, wx, wy, wz) 
    setElementPosition(marker, wx, wy, wz) 
end) 

Regards,

Jesse

Posted

Use GMES as example. Yours will never work in order to make the corona be under the ground.

Using:

getWorldFromScreenPosition 

You can do that.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...