RigidBody2D Not Rotating from apply_impulse

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By potato
:warning: Old Version Published before Godot 3 was released.

In fixed_update on a RigidBody2D I am applying two impulses, in opposite directions at opposite ends, to make the object spin:

apply_impulse(Vector2(100,0), Vector2(0,-100*delta)) apply_impulse(Vector2(-100,0), Vector2(0,100*delta))

For some reason this isn’t rotating my RigidBody2D - and if I comment out one or the other the body simply moves straight up and down, with no rotation imparted. I must be missing something obvious - do you need to do anything special to get RigidBody2D to rotate in response to force/impulse? Thanks in advance.

:bust_in_silhouette: Reply From: potato

Figured it out - my RigidBody didn’t have a collision shape child node. Adding a collision shape child node resulted in the expected behavior.