# No Blueprint API examples ?

**URL:** <https://forums.unrealengine.com/t/no-blueprint-api-examples/12871>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [October 9, 2014, 6:37am UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871 "2014-10-09T06:37:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fba4913](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fba4913](https://forums.unrealengine.com/u/anonymous_user_8fba4913)\
**Post date:** [October 9, 2014, 6:37am UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/1 "2014-10-09T06:37:10Z")

</div>

As far as I can tell the API has no blueprint examples or am I just not looking in the right place ?  
Sure you can find some sporadic blueprint examples around but nothing linked to the API and certainly nothing conclusive.  
Blueprint seems to have its own separate logic and its far removed from the Unity JavaScript i’m used to so i’m finding it very hard going getting patches to work.  
Any suggestions for getting things to work as i’ve asked questions but still hitting brick walls it seems.

> **[Add rotational force to rigidbody blueprint?](https://forums.unrealengine.com/questions/110178/add-rotational-force-to-rigidbody-blueprint.html)**
>
> Whats the correct way to add rotational force to rigidbody in a bluprint using an axis input ? I’ve tried quite a few ways but the documentation is somewhat lacking for examples as is the API it seems ? I’m fine with setting up the input but am...

> **[Help converting simple physics rigid body control (unity)Javascript into a...](https://forums.unrealengine.com/showthread.php?47703-Help-converting-simple-physics-rigid-body-control-%28unity%29Javascript-into-a-bluprint)**
>
> Howdy, i’m trying to recreate my old unity control script into a bluprint but i’m getting really confused and most examples I find look way more complicated than what I need. Anybody that knows unityscript and bluprint please can I get some help...

---

<div class="post-metadata">

**Author:** ![kennyrosenyc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kennyrosenyc](https://forums.unrealengine.com/u/kennyrosenyc)\
**Post date:** [October 9, 2014, 5:40pm UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/2 "2014-10-09T17:40:41Z")

</div>

There are several you tube series on Blueprints on the Unreal Engine page. They cover just about everything. Also there are quite a few tutorials and downloads here if you check around the forum. It is a bit odd but you have to remember Unity is more of a mobile game system whereas I think UE4 is more of a console/desktop system so it’s going to be different in many respects. You have to just power through, follow the instructions and then you’ll find yourself predicting the next step and realize you’re getting it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fba4913](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fba4913](https://forums.unrealengine.com/u/anonymous_user_8fba4913)\
**Post date:** [October 9, 2014, 10:54pm UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/3 "2014-10-09T22:54:51Z")

</div>

I can’t find anything for the subjects I need hence the posts. Mobile dev is not my bag, i’m doing high level physics simulations and need help patching input controls to physics forces. Nothing I can find online is any help so far but yes I shall be powering on 😉

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [October 10, 2014, 2:29pm UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/4 "2014-10-10T14:29:09Z")

</div>

You are looking for solution to exactly your problems. Follow tutorials about blueprints, learn them, else you will get even more questions on your next step in project.  
There are tutorials that show exactly what you need, but its always just one or two very simple bits of what you need.

For example to add force to rigid body, you create blueprint with that body, apply physics model to it, then you add thruster object. And you control that thruster when you want add some forces.

Docs about physics: [Physics Content Examples | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/Physics/index.html)

Even if there is no ready to use solution for your project, you will get all keywords to use in google.

PS.  
I was confused for few days about why my object does not react to physics based forces, it turned out that i did not enabled physics for that object.  
You may also do everything correctly but some small hidden property may be set to “no physics”.  
I think tutorial about “physics spaceship has it all explained step by step” or just load that example and see how it is done. Its in input examples.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 10, 2014, 2:46pm UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/5 "2014-10-10T14:46:36Z")

</div>

Hi ,

Here are a few of the blueprint documentation pages and video tutorials we currently have available. I would also highly recommend looking through the content examples sample project and the blueprint office sample project, as these have many great examples of what you can do via blueprints.

> **[Blueprints Visual Scripting Overview](https://docs.unrealengine.com/5.1/en-US/overview-of-blueprints-visual-scripting-in-unreal-engine/)**
>
> The Blueprint Overview page breaks down the anatomy of a Blueprint and the different types of Blueprints available.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

> **[Blueprint Editor Reference](https://docs.unrealengine.com/5.1/en-US/user-interface-reference-for-the-blueprints-visual-scripting-editor-in-unreal-engine/)**
>
> The Blueprint Editor Reference page outlines the Blueprint Editor's Interface elements and its basic usage instructions.

> **[Content Examples](https://docs.unrealengine.com/5.1/en-US/content-examples-sample-project-for-unreal-engine/)**
>
> This sample project demonstrates specific concepts and techniques to use in Unreal Engine.

[https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Types/MacroLibrary/index.html](https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Types/MacroLibrary/index.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fba4913](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fba4913](https://forums.unrealengine.com/u/anonymous_user_8fba4913)\
**Post date:** [October 12, 2014, 8:32pm UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/6 "2014-10-12T20:32:05Z")

</div>

[=Nawrot;161627]  
You are looking for solution to exactly your problems. Follow tutorials about blueprints, learn them, else you will get even more questions on your next step in project.  
There are tutorials that show exactly what you need, but its always just one or two very simple bits of what you need.

[/]

Well yes and no, I have followed many tutorials, example projects etc and i’m still getting more and more confused. I originally learned how to do what I needed with simple code in Unity see below -

var spinforce : int = 100;

function FixedUpdate () {

var yRotation : float = Input.GetAxis (“Horizontal”)\*spinforce \*Time.deltaTime ;

rigidbody.AddRelativeTorque (0,yRotation,0);

Now trying to do the same thing in blueprints is driving me insane !

[=Nawrot;161627]

For example to add force to rigid body, you create blueprint with that body, apply physics model to it, then you add thruster object. And you control that thruster when you want add some forces.

[/]

Create blueprint with the body “check”  
Apple physics model “check” I’m guessing you mean apply a collision model and tick simulate physics ?  
Add thruster object ?? I almost stopped reading here but after a quick google I find the node your talking about, not sure how to connect it though unfortunately.  
If you could show me a blueprint example I would be really thankful at this stage.

What I have doesn’t seem to work -

 ![01.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/2/32b94812b7dfb841d9c2dfb2cc8b54c64f57d1d8.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fba4913](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fba4913](https://forums.unrealengine.com/u/anonymous_user_8fba4913)\
**Post date:** [October 12, 2014, 8:42pm UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/7 "2014-10-12T20:42:27Z")

</div>

[= ;161638]  
Hi ,

Here are a few of the blueprint documentation pages and video tutorials we currently have available. I would also highly recommend looking through the content examples sample project and the blueprint office sample project, as these have many great examples of what you can do via blueprints.

[/]

Thanks for that, i’m still very lost and looking inside content examples seems like looking for a needle in a haystack, everything seems way over complicated and its very frustrating.

My original point was take something like Rigidbody.AddRelativeTorque  
When I use unity I look in the API and I find this - [Unity - Scripting API: Rigidbody.AddRelativeTorque](http://docs.unity3d.com/ScriptReference/Rigidbody.AddRelativeTorque.html)  
It tells me everything I need to know to get things working in script, if you look at my last post I show an example where I use this code in my input script.  
With blueprints i’m lost looking into hundreds of nodes in content example that seem to bare no or little relation to the actual Physx commands they relate too.  
Can anybody see where i’m coming from ?  
Better still can somebody recreate my script in a simple blueprint so I can learn from it ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fba4913](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fba4913](https://forums.unrealengine.com/u/anonymous_user_8fba4913)\
**Post date:** [October 14, 2014, 11:07am UTC](https://forums.unrealengine.com/t/no-blueprint-api-examples/12871/8 "2014-10-14T11:07:24Z")

</div>

Ok problem solved !  
I’d somehow missed the example ball project that perfectly answers this question, many thanks to a members on a facebook group.  
I’ve modified the code slightly to include delta time so its not framerate dependent.

 ![162e4c5796dc73a535548d1fb685772e5e4f5c0c.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/2/162e4c5796dc73a535548d1fb685772e5e4f5c0c.jpeg)
