How to get KinematicBody2D position in a Node2D child node

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Aryn

The title is self explanatory! I’m using Godot 3.0.2

:bust_in_silhouette: Reply From: Footurist

This is the essence of the difference between local and global position. A local position always gives the position relative to the parent, wehreas global tells you the relative position to the root node.

Relative to parent:


Relative to root node:


Ooh! really thanks :slight_smile:

Aryn | 2018-03-11 23:31