© Alan Thorn 2020
A. ThornMoving from Unity to Godothttps://doi.org/10.1007/978-1-4842-5908-5_7

7. Tips and Tricks

Alan Thorn1 
(1)
High Wycombe, UK
 

Previous chapters typically focused on specific groups of features within Godot, such as 2D and 3D worlds. This chapter, by contrast, focuses on how to achieve common tasks within Godot. The Unity documentation on such tasks is extensive. But the Godot documentation is limited. So let’s now take a look at some common tasks.

How to Make Objects Look at the Cursor

You’ll often want objects – like the player or enemy characters – to face the mouse cursor as it moves around the screen. Twin-stick shooter games are a common example. In these games, the player normally controls character movement – up, down, ...

Get Moving from Unity to Godot: An In-Depth Handbook to Godot for Unity Users now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.