Printing the Mass of the Cube - My Take

I clicked on the output pin of the Static Mesh Component, found the ‘Get Mass’ action and then dragged the output value of that to Print String, but the connection was to ‘duration’, not ‘In string’. (Presumably because the output vale of ‘Get Mass’ is single precision float and Blueprints is trying to match types?)
I had to drag the ‘Return Value’ pin from the ‘Get Mass’ node to the ‘In String’ pin which created a link via a conversion node automatically. Right clicking on the duration pin gave me the option ‘Break link’.

It just seemed to me to be more logical to start with the cube and work through the steps
Cube → Static Mesh Component → Get Mass → Print String than the way it’s presented.

Privacy & Terms