Jump to content
  • Advertisement
  • entries
    7
  • comments
    18
  • views
    1585

aimOffset with UE4

Sign in to follow this  
riuthamus

1846 views

So, after 3hrs or so of work I have some really cool aimOffset stuff going on with our new farmer.

With this the players will be able to look around and show other players what they are looking at. This can also be used for NPC's to look at the player, hostile creatures, or objects of interest. I am loving UE4 and how simple it makes things like this. Next will be to get the running/walking/jogging animations to do something similar. More updates to come!!!

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By RoKabium Games
      Aura enemies – ”Murderia” is a crystal based life form that moves across any type of block at some speed. This creature cannot be killed by digging the block it sits on and therefore it makes the block it sits on impossible to mine. It fires projectiles in all directions if it feels threatened so kill from afar.
    • By iGrfx
      I tried to clear a RWStructuredBuffer<bool> by a CommandList->ClearUnorderedAccessViewUint call.
      I got an error like this:D3D12 ERROR: ID3D12CommandList::ClearUnorderedAccessViewUint: ClearUnorderedAccessView* methods are not compatible with Structured Buffers.
      However, I've searched on the internet but got nothing, I saw someone done this before, Does anyone know how to solve this problem? Thanks in advance!
    • By joetext
      Hey all, I'm at my wits end with this weird memory leak. My issue is with the small preview-render view that comes up on the Windows 10 taskbar when you hover over your application. I don't know the name of it, but it's the little thumbnail view that pops up when you have your mouse hovered over a minimized application. When I do this with my dx11 program, memory absolutely rockets up, I'm talking like going from 1 gb to 4 gb in a few seconds. I managed to find a single line that I can comment out and "fix" the leak, but it's not making any sense to me. The graphics portions of my program are somewhat fragmented between different abstraction layers so bear with me.
      // the code that actually handles the render calls // map buffers and copy data from cpu buffers m_context->copyDataToBuffer((void*)verts.data(), sizeof(Vertex) * verts.size(), m_vertexBuffer); m_context->copyDataToBuffer((void*)indicies.data(), sizeof(uint) * indicies.size(), m_indexBuffer); m_context->copyDataToBuffer((void*)uniforms.data(), sizeof(HuiUniforms) * uniforms.size(), m_uniformBuffer); // render ISamplerState* sampler = shaderSys->getSamplerState(); m_context->setVertexBuffer(m_vertexBuffer); // this is the line that is causing the leak m_context->setIndexBuffer(m_indexBuffer); m_context->setUniformBuffer(m_uniformBuffer, ShaderType::Vert); m_context->setUniformBuffer(m_uniformBuffer, ShaderType::Frag); m_context->setTopology(PrimativeTopology::TriangleList); m_context->setSamplerState(sampler); Texture2D** textureArr = &diffuseTexture; m_context->setTextures(textureArr, 1); m_context->drawIndexed(indicies.size()); m_vertexBuffer is an abstraction for a ID3D11Buffer. Here's the code for that setVertextBuffer call
      void D3DRenderContext::setVertexBuffer(IBuffer* buffer) { D3DBuffer* d3dBuffer = static_cast<D3DBuffer*>(buffer); ID3D11Buffer** d3dBufferResource = d3dBuffer->getBuffer(); UINT stride = sizeof(Vertex); // Vertex is a simple struct UINT offset = 0; m_context->IASetVertexBuffers(0, 1, d3dBufferResource, &stride, &offset); } And for completeness sake here's the copy buffer function
      void D3DRenderContext::copyDataToBuffer(void* data, int dataSize, IBuffer* toBuffer) { D3DBuffer* d3dBuffer = static_cast<D3DBuffer*>(toBuffer); ID3D11Buffer** d3dBufferResource = d3dBuffer->getBuffer(); HRESULT result; D3D11_MAPPED_SUBRESOURCE resource; result = m_context->Map(*d3dBufferResource, NULL, D3D11_MAP_WRITE_DISCARD, NULL, &resource); memcpy(resource.pData, data, dataSize); m_context->Unmap(*d3dBufferResource, NULL); } A few things.. I removed like 15 ASSERTS to make the code shorter, so any pointer that could potentially be null, and the dx results are all checked in the actual code. Second, I have the dx debug output enabled and it has nothing to say. Third, I've tried flushing the context after every call to drawIndexed, to no avail.

      This leak is just beyond bizarre to me, granted I have no clue how the underpinnings of that preview window work. In the meantime, I'm going to figure out how to tell windows to disable it, but I'd still like to know why this is happening. Any suggestions appreciated!
    • By srphfthnd
      Hello, I apologise in advanced I'm not really good in English. I'm just new here and I don't know how to start. I'm a fourth year IT student and want to make my favorite old game into mobile game. The game I want to create is base from mmorpg Ran Online which was shutdown 3 months ago. I deeply in love with this game and I want to make it into mobile but I have no idea where to start. I heard about how to reverse engineer the game and create it by using Unity software. I also try to read other forums regarding about making mmorpg in mobile but they just gave me a vague general answer. Please help me I want to know where I should start in this project. I really want this game in my pocket and to be back. I'm not that good but I have knowledge in Java and C++. Any help will be much appreciated. 
    • By khawk
      Kicking off Unreal Academy London, Epic Games today announced the acquisition of Quixel, creator of the world’s largest photogrammetry asset library and bundled toolset, with all Quixel Megascans becoming free for all use with Unreal Engine. In addition, Epic announced significant Unreal Engine developments that streamline functionality to offer elegant solutions for creators across all industries.
      Free access to Quixel
      Founded in 2011, Quixel’s products include Megascans, an extensive library of 2D and 3D photogrammetry assets, supported by companion applications Bridge and Mixer. Leading game developers, filmmakers, and visualization specialists use Quixel Megascans assets to craft blockbuster games (Metro Exodus, Destiny 2, Battlefield V), animated entertainment (The Jungle Book, Black Panther, The Lion King, Pacific Rim: Uprising), and lifelike scenes through high-quality content and access to a vast array of tools. Quixel’s primary operations will remain based in Sweden, with over 100 employees across six countries joining the Epic Games team.
      “Building photorealistic 3D content is an expensive endeavor in game development and film production. By coming together with Quixel to make Megascans free for all use in Unreal Engine, this level of artistry is now available to everyone from triple-A studios to indies,” said Epic Games Founder and CEO Tim Sweeney.
      “Our mission at Quixel has always been to make the world more accessible for everyone through ultra-high resolution scanning. As part of Epic Games, we’re now able to accelerate this vision as we grow the Megascans library, speed up the development of Bridge and Mixer, and improve integrations with all major 3D software and renderers,” said Quixel Co-founder Teddy Bergsman.
      As part of making the Quixel Megascans library of more than 10,000 assets free for use with Unreal Engine, ten high-resolution packs have been shared today for free on the Unreal Engine Marketplace, as well as a collection of assets from the popular Iceland collection used in the “Rebirth” cinematic short. Additional asset packs will be made available for free on the Marketplace at a future date within the Unreal Engine 4.24 release timeframe. 
      Quixel Mixer and Quixel Bridge are being made available for free to all, regardless of engine choice or license type. In addition, all Quixel Megascans users can look forward to more downloads per month and more generous license terms. 
       

      Unreal Studio for all
      Epic also announced more streamlined features and workflows that advance Unreal Engine for all creators. Starting with Unreal Engine 4.24, features such as the Datasmith suite of plugins, static mesh editing, and the Variant Manager -- previously available through the free Unreal Studio beta -- now ship as part of the unified binary tool. As a result, all Unreal Engine users will now have access to the same features, regardless of industry and use case: games, architecture, automotive and transportation, film and television, broadcast and live events, as well as training and simulation—with the entire community benefitting from a more diverse user base with transferable skills. 
      As a result of this shift, the Unreal Studio beta will be retired upon the release of Unreal Engine 4.24. Users remaining on Unreal Studio 4.23 or earlier will be able to continue using the product, however Epic will no longer release new versions or offer further support. The Datasmith plugin for 4.19-4.23 will be made available for all users for free on the Unreal Engine Marketplace.
       

      Unreal Engine 4.24 highlights
      Available now in Preview 1, Unreal Engine 4.24 ships with many upgrades and new features, notably:
      New nondestructive, layer-based Landscape workflows enable more interesting and engaging outdoor environments where the terrain automatically adapts to other elements in the world. 
      The Sky Atmosphere component generates a physically-accurate sky that can be updated dynamically depending on the time of day, and it can be viewed from the ground or from the air to create realistic-looking planetscapes. 
      The new experimental strand-based hair and fur system brings characters to life with realistic, flowing hair. 
      Screen-space global illumination allows for natural light-filled spaces using fewer resources.
      The Live Universal Scene Description (USD) Stage Actor creates a direct link to the USD file on disk for faster iteration and better collaboration. 
      Project creation workflow now includes a wizard-style workflow centered around the industry or type of project you are creating so you only see relevant settings and tools.
      The Future of Twinmotion
      Powered by Unreal Engine, Twinmotion is a highly intuitive, high-quality solution for fast and easy real-time visualization for architecture, construction, urban planning, and landscaping. 
       

      Previously, Epic had announced that Twinmotion would remain free until November 2019; once downloaded, the free version can be used indefinitely. Today, Epic is extending the free availability until the next release of Twinmotion, which is anticipated to ship in the first quarter of 2020. The new version will offer even greater photorealism, improved assets, tools to facilitate collaborative workflows, and more. 

      View full story
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!