Jump to content
Korean Random
Sign in to follow this  
ahwa

How to find the target and the level Height of the ground

Recommended Posts

How to get target and ground  level Height

 

post-29216-0-98769700-1432960951_thumb.jpg

  • Upvote 1
  • Downvote 1

Share this post


Link to post

Short link
Share on other sites

How to get target and ground  level Height

The vertical coordinate of the tank from BigWorld is not transmitted!

Collision-test can help you:

def collideStatic(startPoint, endPoint, collisionFlags = 128):
	collisionPoints = BigWorld.wg_collideSegment(BigWorld.player().spaceID, startPoint, endPoint, collisionFlags)
	return collisionPoints[0] if collisionPoints is not None else None
Edited by ShadowHunterRUS
  • Upvote 1
  • Downvote 1

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...